Welcome to Praison

Know more about Praison

Posts

gulpfile.js Example SASS CSS

Example of gulpfile.js compiling SASS to CSS Related posts: WP_Query Get Posts Published in the last 24 hours Synchronising between Git and SVN Bower JSON Dependencies Installation file Beginners Guide to LESS CSS Preprocessor Beginners Guide to SASS CSS Preprocessor Get all category ids in WordPress [Array] Ajax Progress Bar $post Object Output in WordPress … Continued

Add Bootstrap to WordPress admin sub-menu page

Add Bootstrap to a plugin page // custom css and js add_action('admin_enqueue_scripts', 'cstm_css_and_js'); function cstm_css_and_js($hook) {     // your-slug => The slug name to refer to this menu used in "add_submenu_page"     // tools_page => refers to Tools top menu, so it's a Tools' sub-menu page     if ( 'tools_page_your-slug' != $hook ) {         return;     }     wp_enqueue_style('boot_css', plugins_url('inc/bootstrap.css',__FILE__ … Continued

Synchronising between Git and SVN

Synchronizing updates between the two repositories. 1. Clone the GitHub Repo SSH $ git clone git@github.com:Praison/seo-wordpress.git HTTPS $ git clone https://github.com/Praison/seo-wordpress.git 2. Change into the Directory $ cd seo-wordpress 3. Set Up a Subversion tracking branch $ git branch --no-track svnsync $ git checkout svnsync $ git svn init -s https://plugins.svn.wordpress.org/seo-wordpress/ --prefix=origin/ $ git svn … Continued

Bower JSON Dependencies Installation file

Bower.JSON Bower.JSON file, which is used to Configure the Dependencies Related posts: WordPress function execution order on a Page Load WP_Query Get Posts Published in the last 24 hours This exceeds GitHub’s file size limit of 100MB GitIgnore Directory JSON Vs Array in a Database $post Object Output in WordPress Ajax Progress Bar Get all … Continued