Double header problem

Discussion in 'WordPress' started by bob25, May 4, 2010.

  1. #1
    I'm trying a new template and I get 2 headers when I post. I'm using Reviewazon which places a "token", I'm not sure if it can be edited out.

    Is there a way to get rid of the Wordpress template header? It must be written into the template as it's not a problem with other templates. Which file am I looking to edit? What am I looking for?

    Here's the URL:

    painreliefhelp.org/back-care-basics-a-doctors-gentle-yoga-program-for-back-and-neck-pain-relief

    Thanks
     
    bob25, May 4, 2010 IP
  2. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #2
    I think you would want to edit your single.php file. Hard to say, what plug in are you using for the Amazon posts? Is that is what is conflicting with everything?
     
    hmansfield, May 4, 2010 IP
  3. bob25

    bob25 Well-Known Member

    Messages:
    1,519
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Yeah that's what I thought to, but there's no single.php (weird theme). I'm using Reziewazon, and I left a post there on deleting Reviewazon's header, but it's not the plugin, I've used it on numerous themes and never had a problem with it. The theme is the one that's causing the problem, but I have no idea what file to edit and what I need to look for.

    Thanks
     
    bob25, May 4, 2010 IP
  4. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #4
    Sorry I couldn't help more, that's one of those things that I would have to digg around and try different changes to see which one gave me the desired effect.
    No single.php, huh? What about a post.php, or home.php?
    If there's nothing there either, you could always just look around index.php, sometimes you can make changes there that effect the whole blog, but I'm really just guessing. I don't really know without having all of the theme files to look at.
     
    hmansfield, May 5, 2010 IP
  5. lukeg32

    lukeg32 Peon

    Messages:
    645
    Likes Received:
    19
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Waht do you mean header?

    Are you referring to the product title that is displayed twice? If so, this is the theme and reviewazon

    If you dont want the FIRST title to be dislpayed (hyperlinks to the post) then you need to edit the theme file and remove the part that is;

    <?php the_title(); ?>
    PHP:
    NOTE: In doing this, it means that posts with no amazon reviews will not show the post title.....

    This is usually single.php but i notice you said you do not have one. You should consult the theme documentation and use this here to find out which theme file is used.

    http://codex.wordpress.org/Theme_Development

    (if there is not single.php then edit index.php)

    If you want to remove the latter (this links to amazon) you will need to set your reviewazon options to "custom" template first, and then edit the template and remove this part;

    <tr><td colspan="2"><a class="RZTitle" rel="nofollow" title="%%TITLE%%" href="%%DETAILPAGELINK%%">%%TITLE%%</a></td></tr>
    Code (markup):
     
    lukeg32, May 5, 2010 IP
  6. bob25

    bob25 Well-Known Member

    Messages:
    1,519
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #6

    Removing it from Reviewazon is the better option as I have articles as well. Anyway that fixed the problem. Now if I can only remember to do this each time I use the template and Reviewazon together :(

    Thanks guys :)
     
    bob25, May 5, 2010 IP
  7. lukeg32

    lukeg32 Peon

    Messages:
    645
    Likes Received:
    19
    Best Answers:
    1
    Trophy Points:
    0
    #7
    If you want a clickable link there, you can keep the template as is, and jsut replace %%TITLE%% with something to get the visitors attention....

    You can also do this on individual posts too - When you create a post in the "reviewazon post properties" you can set a custom title in there that will avoid what you are currently seeing and keep the link to amazon should someone want to click on it....

    "Click here for more information" - you will need to work on the wording but its something else to consider as a way around your problem...... (im sure theres lots more, but its in your hands now) :p
     
    lukeg32, May 5, 2010 IP
  8. bob25

    bob25 Well-Known Member

    Messages:
    1,519
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #8
    I think there's enough links to Amazon for now, I better not push my luck :)

    Not to comfortable messing with Reviewazon's templates just yet, I'll let it "marinate" in my head for a bit ;), but I'll keep those options in mind.

    Thanks
     
    bob25, May 5, 2010 IP