• Resolved pecker1209

    (@pecker1209)


    Hello,
    I want to know how can i make VIEW POST IN USING “TAG” INSTEAD OF CATEGORY in HOME page.
    Thank you.

    And one last thing, how to make all the image of the post to be under a certain height and width?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Hardeep Asrani

    (@hardeepasrani)

    Hi,

    Could you please explain your first question? Which part are you talking about?

    And for the second, you could try using the following:

    .single img {
        width: 600px !important;
        height: 400px !important;
    }

    Let me know. 🙂

    Regards,
    Hardeep

    Thread Starter pecker1209

    (@pecker1209)

    in category say “uncategorized”, when a post is created under that category, it came to top right corner, so how about we used TAGS instead of that

    if i create TAGS “Program”, so instead of “uncategorized”, i want “program”
    Image: Example Image of What I want

    Theme Author Hardeep Asrani

    (@hardeepasrani)

    It’s possible but if done with tags then it will display all the tags that are tagged to that post, so would you like to do that?

    Thread Starter pecker1209

    (@pecker1209)

    yeah

    Thread Starter pecker1209

    (@pecker1209)

    Thank you for your kind HELP

    Theme Author Hardeep Asrani

    (@hardeepasrani)

    Try replacing the following code in the index.php file:

    <span class="meta-category">
    	<?php $category = get_the_category(); if ($category) { echo '<a href="' . get_category_link( $category[0]->term_id ) . '" title="' . sprintf( __( "View all posts in %s", 'the-funk' ), $category[0]->name ) . '" ' . '>' . $category[0]->name.'</a> '; } ?>
    </span>

    to:

    <span class="meta-category">
    	<?php the_tags(); ?>
    </span>

    Regards,
    Hardeep

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to make View post in using tag instead of category’ is closed to new replies.