Skip to content

Commit

Permalink
Added in some stuff for WP approval
Browse files Browse the repository at this point in the history
except without much php.. can’t really get my theme approved :(
  • Loading branch information
royboy789 committed Jun 9, 2014
1 parent 021e545 commit f9d2776
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
6 changes: 2 additions & 4 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,8 @@ function MyScripts() {


// LESS CSS
wp_register_style('less-css', get_bloginfo('template_directory').'/more-style.less', false, '1.0', 'all');
wp_enqueue_style('less-css');
wp_register_style('less-css-css', get_bloginfo('template_directory').'/more-style.css', false, '1.0', 'all');
// INCLUDE WHEN READY: wp_enqueue_style('less-css-css');
wp_enqueue_style('less-css', get_bloginfo('template_directory').'/more-style.less', false, '1.0', 'all');
wp_enqueue_style('less-css-css', get_bloginfo('template_directory').'/more-style.css', false, '1.0', 'all');

//TINY MCE
wp_enqueue_script('tiny_mce');
Expand Down
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 17 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/*
Theme Name: WpAngularJS
Theme URI: http://www.roysivan.com
Description: Bringing AngularJS technology to WordPress.
Theme URI: http://www.roysivan.com/angular-wordpress-theme
Description: Bringing AngularJS technology to WordPress. Theme front end is built using Twitter Bootstrap with some minor styling done by Roy Sivan. This theme is built to help build a Single Page Application using WordPress and AngularJS.
Version: 4.0
Tags: WordPress, AngularJS, JavaScript, RESTful, API, Angular, Client Side Application, Single Page Application
Author: Roy Sivan
Author URI: http://www.roysivan.com
Expand Down Expand Up @@ -33,4 +34,18 @@ header, article, footer, section, nav{
}


/* WORDPRESS STYLING */
.alignleft { float: left; margin: 5px 5px 5px 0; }
.alignright { float: right; margin: 5px 0 5px 5px; }
.aligncenter { display: block; margin: 0 auto; }

.wp-caption { dislay: block; margin: 0 auto; }
.wp-caption-text { color: #000; }
.sticky,
.bypostauthor,
.gallery-option,
.gallery-caption { display: inline-block; }



/******** ALL FURTHER STYLING SHOULD BE DONE IN THE more-style.less/css FILES *******/

0 comments on commit f9d2776

Please sign in to comment.