• brandysve

    (@brandysve)


    Hello guys,

    I’d like to add a bloc with a text like “Please, read first the first article [name of the first article]” for each category when you are on a category page. It will not be in the siderbar but between the category’s name and the first category’s post.

    But, I have no idea how to do it.

    Thanks in advance,

    brandysve

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    You can use sticky posts, a sticky post will show up before any other posts when reading the blog pages.

    After a quick search i found this plugin https://wordpress.org/plugins/category-sticky-post/ that can designate sticky posts per category basis.

    If you need more advanced functionality, then you will need to edit your themes files (category.php), in which case it’s best to create a child theme if you don’t have one yet: https://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme

    Cheers

    Thread Starter brandysve

    (@brandysve)

    Hi, the plugin is interessant but it not really do what I want.

    I already edit some files, it’s not a problem if I must edit it.

    I don’t want a special post but just a function which display the current category’s first post link.

    I appreciate your help, thank you 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Display first post current category’ is closed to new replies.