How to retain visual breadcrumbs w/ tricky URL structure? Custom post template?

If I understand description and discussion correctly the issue seems to be using pages as nodes in structure. This is somewhat confusing since page are content entity, not structural. I agree with suggestion that it would make sense to use taxonomies (custom or native categories) instead. That will give you: Clear hierarchical structure of content. … Read more

WordPress homepage hangs in IE browsers

Here’s a waterfall chart showing your page load. Your page loads in 3.1 seconds, but doesn’t fire the document.ready event for another 27 seconds. Aside from various room for optimization (you might split your .pngs across domains to make them load faster, for example) what this waterfall chart shows that it’s not the page that … Read more

WordPress menu: How to make www.link.com/#name never contain current_page_item class?

a bit hacky, but it works: add_filter(‘nav_menu_css_class’, ‘remove_some_menu_classes’, 420 ,3); function remove_some_menu_classes($classes, $item, $args){ if(strpos($item->url, ‘#order’) !== false) // in the 2nd array put the classes you want removed return array_diff($classes, array(‘current_page_item’, ‘current-menu-item’)); return $classes; }

Different profile page by role

i needed something similar to this so i added a rewrite rule to the same author.php file and there i added a redirect based on the user role, so to put this in your use case: First redirect editor to your theme author.php file by adding this rewrite rule function my_rewrite_rules_098( $wp_rewrite ) { $newrules … Read more

WordPress Command Question

Do I need to add this to a folder before uploading? If the plugin only consists of this single file, then no, a folder is not required(but you can use a folder if you prefer). What are the permissions to execute this plugin? If you’re talking about folder and file permissions, these are usually 755 … Read more