Software for WordPress Theme and Plugin Development? [closed]

OS Windows 7 x64 Using PhpStorm excellent non-free IDE, a lot of focus on speed and productivity Xdebug debugger, a lot of useful functions to dump, trace stack, profile WinSCP secure file transfer, folders sync, remote editing, backup Uniform Server WAMP stack, portable, up to date components Internet Explorer Collection easy way to have multiple … Read more

How to define and link full path to css located at a random folder on header.php

You should look into wp_enqueue_script() and wp_enque_style(), they’ll handle the assembly and placement of the script/style tag, and the dependancy order – inside of your header (via wp_head()) or footer if you like to load your assets at the bottom of your page. So, for your example, something like add_action( “wp_enqueue_scripts”, function(){ wp_enqueue_style( ‘mythemelightbox’, get_template_directory_uri().’/lightbox2-master/lightbox2-master/src/css/lightbox.css’, … Read more

Menu items description? Custom Walker for wp_nav_menu()

You need a custom walker for the nav menu. Basically, you add a parameter ‘walker’ to the wp_nav_menu() options and call an instance of an enhanced class: wp_nav_menu( array ( ‘menu’ => ‘main-menu’, ‘container’ => FALSE, ‘container_id’ => FALSE, ‘menu_class’ => ”, ‘menu_id’ => FALSE, ‘depth’ => 1, ‘walker’ => new Description_Walker ) ); The … Read more