Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #438235

    This seems really obvious but I can’t figure out how to do it.

    #438236

    To be clear – not a tag cloud but the tags applied to a portfolio item.

    #439047

    Hi!

    Your trying to add tags to a portfolio post? If you look right beneath the “Publish / Update” button there will be a section for adding tags to the post. If you do not see that then click on “Screen Options” in the top right hand corner of your screen and make sure the “Tags” option is checked to display.

    Cheers!
    Elliott

    #440116

    Hi Elliott,

    I know where the input field to enter tags is but I don’t know how to add them to Avia Layout Builder. There is no Content Element that supports them.

    #440259

    Hi, squarelight.
    It my help:
    1) add to child function.php

    // php in widget
    add_filter('widget_text','sp_widget_execute_php',100);
    function sp_widget_execute_php($text) {
        if(strpos($text,'<?') !== false) {
            ob_start();
            eval('?>'.$text);
            $text = ob_get_contents();
            ob_end_clean();
        }
        return $text;
    }

    2) add custom widget area
    3) add text widget with php code for tag:

    <?php if(has_tag() && is_single() && !post_password_required())
                {
                    echo '<span class="blog-tags minor-meta">';
                    the_tags('<strong>'.__('Tags:','avia_framework').'</strong><span> ');
                    echo '</span></span>';
                }
    ?>

    4) add widget with Avia Layout Builder

    #440373

    Hi!

    Please refer to @s_b81’s post above

    @s_b81
    thanks :)

    Best regards,
    Yigit

    #442026

    That worked! Thanks so much.

    #442226

    Hi!

    Great, glad you got it fixed :)

    Cheers!
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Adding Tags and Categories to Avia Layout Builder’ is closed to new replies.