How to display category specific post content on a page

Codex Just take a look at the WordPress Template Hierarchy. Templates You’ll find out that WordPress has three different types of templates, that you can use: A) For built in taxonomies: Category & Tag B) For custom taxonomies. The template engine will search for such templates when you request a category/tag/custom taxonomy archive page. taxonomy-{$taxonomy_slug}-{$term}.php … Read more

Extend walker – navigation, adding data attribute to a tag

This is how I added data attribute to my menu It simply adds data-title=”menu-title” to each link on my main nav, change it to adapt to your need. You don’t actually need to use Nav Walker to add this add_filter( ‘nav_menu_link_attributes’, ‘cfw_add_data_atts_to_nav’, 10, 4 ); function cfw_add_data_atts_to_nav( $atts, $item, $args ) { $atts[‘data-title’] = $item->post_title; … Read more

Installing WordPress Theme Unit Data

If your using a MAC you will need to set file permissions to allow for updating and downloading plugins/themes without the use of setting up the FTP and manually adding them into the htdocs folder. The link below will walk you through this to set it up to work. http://ghosthorses.co.uk/production-diary/auto-update-wordpress-plugins-on-localhost-xampp-on-mac-osx/ http://wpforce.com/auto-update-wordpress-xampp-osx/ This video will show … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)