Hello, I've just installed a new magazine style wordpress theme on one of my blogs, and am having trouble with getting the category links to work. This is the message that I get when I click on a category link: Fatal error: Call to undefined function: the_title_attribute() in /home/localkin/public_html/wp-content/themes/PRiNZ_BranfordMagazine_latest/branfordmagazine/archive.php on line 40 The link to my blog is in my sig anchored 'local kine hawaii blog' . The address is localkine dot org. Any help would be much appreciated Thank you in advance
hi, did you check the line 40. ok now you need to find out the specific function. are you using CMS(Like joomla etc.)?
Hi Sabbir, thanks for the reply. No, I'm just using XHTML and PHP. Here's the line of code: <h4 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php __('Permanent Link to','branfordmagazine');?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h4> I can't seem to find the function...
He clearly said he's using Wordpress... anyway, try replacing: the_title_attribute() Code (markup): on line 40 of archive.php with: the_title() Code (markup): What happens?
Thanks j0ned This is the error message I get when I replaced the tags: Fatal error: Call to undefined function: the_tags() in /home/localkin/public_html/wp-content/themes/PRiNZ_BranfordMagazine_latest/branfordmagazine/archive.php on line 46 Here's line 46: <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> <?php __('Posted in','branfordmagazine');?>
Which version of Wordpress are you using? Try replacing: the_tags() Code (markup): with: the_category() Code (markup):