H
H
HAbRAhabp2015-07-27 13:25:11
Design
HAbRAhabp, 2015-07-27 13:25:11

How do I add a category or tag to a photo?

There is a site on WordPress. I want to make sure that the photo shows the category in which the article is published, and that this category is clickable. How can this be done? As for example on w3bsit3-dns.com, some posts have clickable tags.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Chesnokov, 2015-07-27
@HAbRAhabp

Just fix the CSS. First, change the "position" parameter:

.label {
    position: relative;
}

But there you have a mess in the code, it’s more correct to make DIVs wrong:
<div>
    <h2></h2>
    <div class="entry-info"></div>
    <img>
    <div class="label"></div>
    <p></p>
    <div class="clear"></div>
    <div class="entry-info-bottom"></div>
</div>

How about like this:
<div>
    <h2></h2>
    <div class="entry-info"></div>
    <div class="image_with_label">
    	<div class="label"></div>
    	<img>
    </div>
    <p></p>
    <div class="clear"></div>
    <div class="entry-info-bottom"></div>
</div>

W
WordPress WooCommerce, 2015-07-27
@maxxannik

Change archive template. Take the layout from w3bsit3-dns.com or any other if you like. Edit style file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question