Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Add something over/before the posts on tag/cat pages


  #1  
Old Feb 23, 2009, 09:30 AM
chris's Avatar
chris
 
39 posts · Dec 2008
essen@nrw.de
I would like to add a piece of code over/before the posts on tag and categorie pages.

it is to display a categories or a tags geolocations of postings for the plugin geo-mashup.

any idea to get that piece of code over the first posting of that tag/cat page?
  #2  
Old Feb 23, 2009, 03:13 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You could put, into index.php, right after
PHP Code:
<?php get_header(); ?>
this:
PHP Code:
<?php if ( is_tag() OR is_category() ) { ?>
YOUR CODE
<?php ?>
To have it only on the first page of tag/cateory lists
PHP Code:
<?php if ( (is_tag() OR is_category()) AND !is_paged() ) { ?>
YOUR CODE
<?php ?>

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to Add Text to ALL Posts? strangelove Atahualpa 3 Wordpress theme 4 Feb 28, 2010 12:53 PM
How to add support for WP-Print, to print pages/posts? AndrewRH Atahualpa 3 Wordpress theme 1 Jun 2, 2009 04:13 PM
"more" tag not working on some posts joe hark Atahualpa 3 Wordpress theme 2 Mar 21, 2009 11:38 AM
Only show page title, not excerpts or full, on tag pages. Alphanon Excerpts, Read more, Pagination 2 Mar 3, 2009 10:18 AM
Link not a link in Cat or Tag Mode Steve_T Excerpts, Read more, Pagination 1 Feb 8, 2009 01:05 PM


All times are GMT -6. The time now is 04:47 AM.


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