Custom theme – pages in menu

Since version 3.0 WordPress includes new menu system. It allows to setup menu items in administration area easily and associate menus with specific places in theme templates. It outputs decent list-based markup (pre-filled with classes) that you can style with CSS (and customize if needed). See Navigation Menus for where to start.

“Folding” links in the blogroll

there is a plugin called “better blogroll” I guess it would help you do what you want . I had it installed on one of my sites, but site currently down , so can’t really test – but as far as i remember it does the work u asking for http://www.dyers.org/blog/better-blogroll-widget-for-wordpress/ give it a look … Read more

add_action hook for links.php page

OK, I made an awful, but working solution: the hook is admin_menu, than, in the called function, I added if( strstr($_SERVER[‘PHP_SELF’],’link.php’) in the begining. If there’s a better solution, please someone send it.

How do I exclude main pages and link only to sub pages?

I suggest using wp_nav_menu . This way you’ll be able to construct your own menus and link them to whatever you link or not to link at all. I’ve also used “Redirectify” plugin once, but I think it was removed. There is “Redirect” though which is probably the same , but I haven’t used it

Hide links to pages that dont have any content

I think you would need to implode(‘,’,$excluded_pages) for things to work, $excluded_pages = array(); $all_pages = get_pages(); foreach ( $all_pages as $the_page ) { if ( ” == $the_page->post_content ) { $excluded_pages[] = $the_page->ID; } } wp_list_pages( array( ‘exclude’ => implode(‘,’,$excluded_pages) ) ); EDIT

inner anchor scrolling with wordpress

Your anchor should point to an element with an id, e.g. <a href=”#topic1″>….</a> content <h3 id=”topic1″>….</h3> Otherwise the anchor doesn’t have somewhere to point to. Hope this helps.

Gallery – custom html for inserting images

In cleaner-gallery.php make changes to the cleaner_gallery_plugin_gallery_image function that starts on line 122 and ends on line 151. What we are doing is replacing href with data-href in the two instances that output the html with the image attributes. function cleaner_gallery_plugin_gallery_image( $image, $id, $attr, $instance ) { /* If the image should link to nothing, … Read more