How to count nav menu items?
I’m creating a custom walker for my nav menu. The goal is to split the menu in to columns like so:
I’m creating a custom walker for my nav menu. The goal is to split the menu in to columns like so:
What’s the best way to ensure that post and page slugs use underscores instead of hyphens, without needing to edit the slug manually (or updating the page manually)
I have deep hierarchical taxonomy and I want to have all parent term assigned when I select a child term. I need it for category structure on a online listing/classified site.
In the past, by adding the editor stylesheet, I was able to see the options in both the Format and Styles drop-downs, as they would appear in the post. That is, the entry in the menu would be styled according the the CSS rules that were placed in the editor stylesheet.
I’d like to have a page added by default when a new site is created with WP Multisite.
I want to have an auto-complete or auto-suggest function on a (search) form:
I have a wordpress multisite, where I would like all the images uploaded through the main site (mysite.com) to be accessible to sub1.mysite.com and sub2.mysite.com. All the images should be in one folder without subdirectory (e.g: wp-content/uploads/image.jpg).
I tried the bellow function, but my images for subdomains are uploaded to wp-content/uploads/sites/#blog_id/
I would like to get all the comments for a group of post (not only one post.
Since WP 3.1, it’s been possible to use Tumblr-style post formats. I want to use the ‘aside’ option in a theme, but I want it to have a different title in the WP admin area.
How can I make updates a public plugin of mine without breaking the plugin for all existing users.