Answer the question
In order to leave comments, you need to log in
How to add category filtering to a wordpress post?
I need a filter to display post categories, through id or category labels, for example, only categories with id 1,2,3 are needed, and the remaining 50 pieces are not needed, help me add a filter pls
<?php the_terms( $post->ID, 'companycatalog-category', ' <strong>Категория:</strong> ', ' ',' ' ); ?>
Answer the question
In order to leave comments, you need to log in
if you set the property background-size: cover , the image will be scaled to fit the size of the block.
do not use tens of br, for positioning there are such properties as margin (outer padding) and padding (inner), absolute positioning or pseudo-tables ( display: table-cell; vertical-align: bottom; )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question