WordPress.org

Ready to get started?Download WordPress

Forums

Displace
[resolved] Author and categories on main page (4 posts)

  1. manq
    Member
    Posted 3 months ago #

    Hi.
    I installed the DISPLACE theme and I'm trying to customize it a bit.
    Some questiones:
    1- Post in the index page do not show author and categories on the right side, but when you open any post as a single page, those two features are present. I would like to have author and categories also in the home, is it possible?
    2- I do not like so much the style of tags, so I would change it into a single line where all tags are formatted as normal links and separated simply by a ,. Is it possible?
    Thanks for the help and congrats for the great job. The theme is really close to what I was looking for.

  2. ak
    Member
    Theme Author

    Posted 3 months ago #

    #1 is easy - find line 1067 in style.css, and replace this

    .sticky .posted-on,
    .byline,
    .cat-links {
    	clip: rect(1px, 1px, 1px, 1px);
    	position: absolute;
    }
    .single .byline {
    	clip: auto;
    	position: static;
    }
    .single .cat-links {
    	clip: rect(1px, 1px, 1px, 1px);
    	position: relative;
    }

    with

    .cat-links {
    	position: relative;
    }

    #2 - a quick and dirty solution is replacing

    $tags_list = get_the_tag_list( '<ul class="post-tags">
    <li>', '</li>
    <li>', '</li>
    ' );

    with

    $tags_list = get_the_tag_list( 'Tags: ', ', ', '' );

    in all content*.php files

  3. manq
    Member
    Posted 3 months ago #

    I'll try.
    Thanks!

  4. manq
    Member
    Posted 3 months ago #

    It works.
    Just another fast question: do you think is possible to have a small icon before tags, like for all other features (posted by, time, categories, edit...)?
    Thanks again!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.