• Resolved imagicapl

    (@imagicapl)


    Hi,

    This is a really great theme, I would just like to change one thing – displaying categories on billboard and in Category archives – by default it displays random one (if a post is in more than one category) but I wish it would display the primary category.

    It’s especially important for Category Archives, as on my site:
    https://poszli-pojechali.pl/ – as you click at one of categories in the menu, the template fetches title category from the first post, and if you click at the menu, for example, on Europa-W?ochy, it displays title: Category Archives: Na Wyrywki, which is a secondary category for the latest post.

    I understand, that it’s this part of the code, in category.php:
    <h1 class=”page-title”><?php _e( ‘Category Archives:’, ‘justwrite’ ) ?> <?php ac_output_first_category( ”, true ) . ac_icon( ‘angle-down’ ); ?> </h1>

    I guess I should replace this: ac_output_first_category, but have no idea with what.

    Best regards
    Michal

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author acosmin

    (@acosmin)

    You have to change a lot more than that. I was planning on making this change in the next update, maybe in two or three weeks.

    You’ll have wait a little ??

    Thread Starter imagicapl

    (@imagicapl)

    That’s great news, thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change displayed category’ is closed to new replies.