Support » Theme: Tiny Framework » How to edit/move tags

  • Resolved macawole

    (@macawole)


    Hello 🙂

    I’m using Tiny Framework for a new website and I’m so happy with it ! It’s quite easy to customize 🙂
    However, I can’t figure out how to edit the tags, I need to remove edit link, author link, and keep only the tags, and I would like to move them above the article, but I really can’t find how to do this 🙁
    Any help ?
    Thanks 🙂
    Carole

    • This topic was modified 4 months, 4 weeks ago by  macawole.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there 🙂

    Still looking for a way to edit CSS for tags-links and move them below the title, I can’t find how to do 🙁

    Theme Author Tomas Mackevicius

    (@tomasm)

    The easiest way to remove links, like Edit or Author is to use CSS rule for that element, like:

    .element {
    display: none;
    }

    See how to find element you need:

    http://mtomas.com/389/tiny-forge-framework-child-themes-comprehensive-guide#Use-web-dev-tools

    Another way is to copy from main theme to your child theme file in:

    template-parts/content.php

    and when you see:

    <?php
    // Functions located in: inc/template-tags.php
    	tinyframework_entry_meta();
    	tinyframework_edit_link();
    ?>
    

    You can just delete …_edit_link(); part.

    Otherwise for more granular control, you can see inc/template-tags.php and these functions:

    tinyframework_entry_meta_top()

    tinyframework_entry_meta()

    You can copy those (without if ( ! function_exists( 'tinyframework_entry_meta' ) ) : at the top and without endif; at the bottom) to your child’s functions.php and modify.

    Thanks a lot ! It works ! 🙂
    However, I only need to keep the tags-links, not the author and date, and need to remove the “,” between the tags, how could I do so ? Any clue would be helpful 🙂

    • This reply was modified 4 months, 3 weeks ago by  macawole.
    Theme Author Tomas Mackevicius

    (@tomasm)

    Then you will have to copy over those functions to your child’s functions.php and to some editing over there as these functions produce the output you need to correct.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.