Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Categories only displaying home page

Old Jun 20, 2011, 04:14 AM
Tim F
66 posts · Jul 2009
Categories only displaying home page

Hey all,

I am finding across several of my sites that when I click the link to view a category, I am being taken to the url for that category but only being shown the exact home page.

I posted about this problem before here and Juggledad helped me track it down to the simple tags plugin. However this is ocurring on other sites that don't use this plugin - I have disabled every plugin with no luck. Here's an example: http://www.luckydragonstudio.com/cat...ack-and-white/
This site uses a custom category.php to display the posts in a category in a grid layout. I created category.php by copying the contents of index.php, then adding a few bits. It worked fine for ages, and the only changes I've made since then is upgrading to the latest version of wp. I'm using atahualpa 3.5.1. I have another site with the same problem which isn't using any plugins and isn't using a custom category.php.

Has anyone else experienced anything like this? I can't provide any more details about the exact site setup today as I'm away from home and don't remember my passwords! But thought I'd see if anyone has ideas.
Old Jun 20, 2011, 05:57 AM
juggledad's Avatar
23,750 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
first question I have is what happens it you remove the custom category.php? do they work then?
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Jun 20, 2011, 08:35 AM
Tim F
66 posts · Jul 2009
I'll need to double check on Wed when I can get to my psswords to be sure but I'm 95% that this site that has the same problem had it with no custom category.php and no plugins active whatsoever. I will confirm when I'm home though.
Old Jun 22, 2011, 08:58 AM
Tim F
66 posts · Jul 2009
OK I'm good at this hey - I realised that the problem with my first site above was the same plugin which I swore I wasn't using but hadn't checked as I was away. I upgraded that and the site is now working again. Facepalm.

However the second site is still having the problem, rendering the home page at category URLs. I've tried disabling all plugins (really this time) and removed the custom category.php I was trying so it has to be something I've edited in the theme. I have made quite a few changes so this might be too much trouble to pinpoint but can anyone see any issues with the following? I was trying to use these instructions to add rich snippets markup together with a star rating for my review posts. I've obviously broken something but have been playing for a couple of hours and can't spot it. I was leaning towards the div tag I added below needing to come out of index.php and go somewhere else.

I added this to functions.php:

function hreview_echo($val) {
  global $post;
  $rating = get_post_meta($post->ID, 'rating', true);
  if ($rating) {
    echo $val;
function display_hreview_rating() {
  global $post;
  $rating = get_post_meta($post->ID, 'rating', true);
  if ($rating) {
    <div class="rating">
      My rating:
      <span class="value-title" title="<?php echo $rating; ?>"/>
    <div title="<?php echo $rating; ?> out of 5 stars" class="rating_bar">
      <div style="width:<?php echo ($rating*20); ?>%"></div>
  return $output;
This to index.php, just after get_header(); ?>
<div class="post<?php hreview_echo(' hreview'); ?>">
And then closed the div after bfa_center_content($bfa_ata['content_below_loop']); ?>

The bolded bit below to bfa_post_parts
if ( (!is_single() AND !is_page()) OR $bfa_ata_display_body_title == '' ) {
		echo $before; ?>
		<h<?php echo $bfa_ata['h_posttitle']; ?><?php hreview_echo(' class="item fn entry-title"'); ?>><?php
This to css inserts
.rating {
  float: left;
  margin-right: 10px;
.rating_bar {
  float: left;
  width: 55px;
  background: url(images/stars.gif) 0 0 repeat-x;
.rating_bar div {
  height: 12px;
  background: url(images/stars.gif) 0 -13px repeat-x;
And also added some formatting to the post/page info items.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Categories are just displaying the home page Tim F Atahualpa 3 Wordpress theme 2 May 24, 2011 04:34 AM
[SOLVED] How to prevent the title 'Home' displaying on the home page? kitfreeman Center area post/pages 0 Jan 28, 2011 12:41 PM
[SOLVED] Home page title not displaying ... edkopec Atahualpa 3 Wordpress theme 7 Oct 6, 2010 07:43 PM
[SOLVED] Static Home Page Displaying Posts elgorrion Forum How-To 3 Sep 19, 2010 06:04 PM

All times are GMT -6. The time now is 08:57 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.