I have a function like the following: <?php echo my_custom_function( array( 'category_url'=>'My Special Category' ) ); ?> It pulls data from the “My Special Category” and displays it. I...
I have a custom interface that uses 30+ ajax files while running… some files are only used in category.php while othere’s are only used in page.php… i include the...
I’m using the FitVids.js script to make YouTube video embeds work with a responsive layout. The script is < 3kb, but only about half of my pages actually have...
I’m using some plugins like beer list from Rescuethemes, and an event list, that use a shortcode to display a list of items. I put the shortcode into a...
Problem: I am using custom avatars for registered users and my own locally-hosted image as the default gravatar. I want to stop WordPress making HTTP requests to check for...
I am looking for a way to do some conditional logic on terms associated with a post. Essentially I created my own custom taxonomy for “age groups” and have...
Hi I am trying to use ternary operators with WordPress condtionals, using the code below, but it’s giving me a PHP error, what am I doing wrong? echo is_home()...
I’m using WordPress. I have a movie review website called Filmblurb. For my blog posts, I’m trying to create posts with different categories. Under the “Reviews” category, I have...
I’m trying to display different content depending on the taxonomy that was been selected. For example I have a taxonomy named Type. Inside that taxonomy I have several different...
I need to show some info only to admins visiting a page, so I need a conditional tag to identify them. So far I have found: <?php if (...