Customize Archives and Tags

resolved (8 posts) (2 voices)

  1. xeduarda
    Member

    Hi there. Trying to customize Archives and Tags but need to make sure I find all the right files. This is what I am trying to do:
    1. Change titles so they do not display: 'All posts tagged Tag....' or 'Archive...'
    2. No slider or will make it smaller
    3. Layout into columns or lists w/ just the title and date
    Could you tell me which are the files I need to work on? Thanks in advance

    Posted 7 months ago #
  2. Elliott
    Support

    Hello xeduarda,

    1. You can find this in /wp-content/themes/elegance/lib/functions/theme.php on lines 759 - 779.

    2. You can disable the slider in Dashboard -> Elegance -> Homepage or you can make it smaller by following these instructions, http://mysitemyway.com/docs/index.php/Changing_Slider_Dimensions.

    3. I'm not sure what you mean here but you can create columns and lists with our shortcodes,

    http://mysitemyway.com/docs/index.php?title=Column_Shortcodes
    http://mysitemyway.com/docs/index.php?title=Fancy_Lists

    Posted 7 months ago #
  3. xeduarda
    Member

    Answer on 1. I will try it

    On 2. Disable slider only for Category and Tags (Archives), ¿do I need new templates?

    On 3. What I meant is that Categories and Tags pages show first slider, then main post, then more posts, but in the same layout as blog, what I would like todo is create a different layout, probably lists with just title or grids (though could take too much space) and what I am trying to give the visitor is info on contents (same for Search pages), and not having to deal with so many pages to go visit to see what is there.

    You can see it here: http://www.losbosques.net/category/historias-olvidadas-de-la-historia/

    After those 2 posts, you have 59 pages to visit and see what is there... how tiring!
    So, what I am trying to achieve is to tell Categories, Tags and Search pages to have a list layout so visitors can have 2 or 3 pages, but not 59! And my question is what file or files are the ones I have to mess with in order to have lists.
    Can I use the Fancy LIsts shortcodes on those files?

    Posted 7 months ago #
  4. Elliott
    Support

    For #2 your trying to disable the slider on only the archive and search pages? If so then open up /wp-content/themes/[your_theme]/archive.php and on line 9 you should see this,

    get_header(); ?>

    On the next line add this,

    <style type = 'text/css'>#slider_module { display: none; }</style>

    OR you can place this line above it,

    remove_action( 'mysite_after_header', 'mysite_slider_module' );

    Which would probably be better. Then do the same thing in /wp-content/themes/[your_theme]/search.php.

    #3. For this you would need to open up /wp-content/themes/[your_theme]/archive.php and on line 11 you should see this,

    <?php mysite_archive(); ?>

    You'll want to replace that with the contents of /wp-content/themes/[your_theme]/loop.php and then change the structure to use lists.

    That would have to be considered custom work though.

    Posted 7 months ago #
  5. xeduarda
    Member

    ok I think I can try it now, will let you know once it's done. Thanks!

    Posted 7 months ago #
  6. xeduarda
    Member

    One more thing, can I create this file (archive.php) in child-theme so I do not have to do it all over again once update comes along?

    Posted 7 months ago #
  7. xeduarda
    Member

    and also theme.php? (soory ofr the bit by bit questions)

    Posted 7 months ago #
  8. Elliott
    Support

    Yes that should work.

    Posted 7 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme