Support » Theme: Displace » Author and categories on main page

  • Resolved manq

    (@manq)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author ak

    (@awesome110)

    #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

    I’ll try.
    Thanks!

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Author and categories on main page’ is closed to new replies.