V
V
Vladimir Kulikov2020-05-11 07:57:01
WordPress
Vladimir Kulikov, 2020-05-11 07:57:01

Wordpress how to highlight a popular post?

Hello, there is a div that should be displayed next to a post if it is popular. How to make such a check?

This is a div.
<div class="attr_red_2">ХИТ!</div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IvanMogilev, 2020-05-11
@it_proger29

As an option, manually set the checkbox, make it whatever it is and in the output template check whether the checkbox is pressed and display divs or not, there is no standard functionality for popular posts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question