How do I get gallery thumbnail URL and change the default thumbnail size?
when I create a gallery I get this code generated yet I can;t find out how
when I create a gallery I get this code generated yet I can;t find out how
I’m looking to style my wp_list_pages with a span class. I’d like to give it a unique class so that I can give each a specific icon.
So, I understand how to target a specific menu using the following to add a custom code.
I’m trying to go about this without the use of a plugin, but actions and filters
I have a site with many users and many of them have the same last name. I want to get the emails of all the users with the same last name (IE: Smith) that has a post related to a particular taxonomy term (IE: Baseball).
I’m trying to extend an RSS feed to output some post-meta from my website.
I’ve been studying roles and capabilities and have worked with and worked up a bunch of awesome code for creating unique capabilities and roles. I have created a “Master Editor” role to maintain users with almost every capability…
However, edit_users & delete_users obviously allows for an editor to CUD users, including the existing administrators…
I need to find only posts with a tag forest gump. I’ve tried: new WP_Query('tag=forest+gump');, new WP_Query('tag=forest gump');. However they both return ALL the posts and not only the posts with forest gump tag. Single tags (without spaces) work fine, though. Alternatives (like plain SQL) will work as well.
I’m building a landing page and want to remove the navigation menu from the page. The navigation menu is in header.php which is of course in the page template. Is there a WordPress function I can use to remove the navigation menu from this specific page? I know I could do it with jQuery and do display:none for the nav menu but i’d like to do it server side before the page loads.
I got this code (source)