Is it theoretically possible to have the following feature? Each post has a country code. When a visitor comes in, the system will determine the visitor’s country code. Then...
I would like to display a different menu in the same theme_location depending on some condition. I’m wondering if this is possible and if so how? I would like...
I am trying to find out whether or not a post has images. If it does, I then want to know if a featured image was specified for the...
The following code is supposed to allow for a shortcode that includes many attributes, but not all of the attributes may always be present in which case I do...
I’m trying to add Javascript for my “PrettyPhoto” plugin to pages only when their content contains rel="prettyPhoto". This looks very simple to me but all solutions I’ve found on...
I would like to create a condition that checks to see if a post has a thumbail and if it does display it, otherwise display the first image in...
So, in an effort to move my new project forward, I’m looking for a way to register and de-register widget areas depending on which header file I load via...
Is there a way (and if so, ‘how?’) to apply a conditional to a page/post for which the slug contains a specific word. In the case of the Codex...
Simplifying how I currently show featured posts, when a post is submitted by a full member, a post_meta value is added to the post which is then styled differently....
The function below is used to show certain content after the first paragraph. I would like to show ‘content X’ after the 1st paragraph and ‘content Y’ after 2nd...