WP Subtitle Plugin Problem
Try the correct syntax: <?php the_subtitle(); ?> <?php get_the_subtitle( $id ); ?>
Try the correct syntax: <?php the_subtitle(); ?> <?php get_the_subtitle( $id ); ?>
I think you’ve more or less got what you need. You’ve got a textfield in an HTML form. That form needs to sit in a template file somewhere in a WordPress theme. This template file generates uncached pages. Inside the PHP template for said template file, check the $_POST (or $_REQUEST) object for the form … Read more
I’ve had this same issue a couple of times now. Generally I’ve resolved it by manually downloading 3.1 and replacing the files in the directory. After the transfer is complete I was able to log in and update my database with the drop-down it presented.
Have a look at this question – Preventing users from changing their email address.
Use standard echo or printf with additional parameters. e.g. if(isset($option[‘borderradius’]) && (!empty($option[‘borderradius’]))) { $borderradius=”.post { “; $borderradius .= ‘border-radius: ‘ . $option[‘borderradius’] . ‘px; ‘; $borderradius .= ‘-webkit-border-radius: ‘ . $option[‘borderradius’] . ‘px; ‘; $borderradius .= ‘-moz-border-radius: ‘ . $option[‘borderradius’] . ‘px; ‘; $borderradius .= ‘}’; echo $borderradius; } if(isset($option[‘borderradius’]) && (!empty($option[‘borderradius’]))) { printf(‘.post { … Read more
what’s the add action at the bottom doing? It’s not required for setting up CPTs, just the setup bit you have running on init…. I believe that is what’s throwing the error I have to make it an answer. It was a suggestion, but if it worked for you, I’ll make my comment an answer, … Read more
Probably get_the_tags() is returning an empty array. Try changing the function to: $my_tags = get_the_tags(); if ($my_tags){ foreach($my_tags as $tag) { $tags[] = $tag->name; } }
You should probably be using the WP_Query object and have it order your posts by a meta field: http://codex.wordpress.org/Function_Reference/WP_Query#Parameters Doing so will handle sorting and pagination out of the box.
Currently you are passing on this value: ‘post_category’ => array(‘3,4,5’) // This is a single string While you should be doing this: ‘post_category’ => array(3,4,5) // Three separate values Don’t forget to sanitize the POST values neither: // Initialize categories $post_category = array(); // Prevent “undefined variable” error notices if (isset($_POST[‘vtype’])) { // Loop over … Read more
The problem is defiantly not with the theme or any specific plugin. The problem is the fatal error thrown anytime an include or require is seen. My only other suggestion is to open your php.ini file and find the line include_path=”.:/usr/local/lib/php” and comment it out by placing a ; infront of it so it looks … Read more