Templatesforwapkiz@gmail.com | Today 10 April 2025 Contact

How to show related posts on wapkiz and wapaxo blogs

Home / Tutorials / How to show related posts on wapkiz and wapaxo blogs

By admin
On March 31, 2024
289 Readers
1 Comments

To show related Posts on the wapkiz and wapaxo blog, first we must declare a variable to store the value of the category and then insert a list of blogs with the category of the value stored in the variable, see:

1. Declaring the variable.

[blog]to=:to-id:|| :*var:category=%*category%: [/blog]

Where:
: var:category = % category%: - -> the variable category has the category of the open blog as its value.

Note: The value of to should vary depending on the form of the blog's capture url, if it is by /page-1/%id%/%lname% .html must be to = :url-1:, if it is /page-1.html?to-id=%id% it must be to = :to-id :

2. Creating the list of related blogs.

[blog]cat=:v1:category:, l=6,o=u|| <b>%title%</b> <p>%text-20%</p> [/blog]

Where:
cat = :v1: category : - - > the value of the category is the value of the variable declared above which is %* category%.

The rest you can edit the Posts display code according to your taste.

NOTE: Remove the asterisks
Share

1 Comments

Dais

Very useful

2023 ago

Leave your Comment


Related Posts