Forum Replies Created

Viewing 30 posts - 61 through 90 (of 147 total)
  • Author
    Posts
  • in reply to: Blog using LAYOUT BUILDER #714780

    WOW THANKS!
    So….
    With the code added it seems to be working now.
    (hurrah!)
    1 – We have information in the loop-index.php child file
    2 – The Theme Functions.php file seems to be working. Thanks if you would check through the code to make sure there is no conflicting information:

    CODE IN THE PHP FUNCTIONS:
    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    function custom_shortcode_func() {
    ob_start();
    echo “<span class=’post-meta-infos’>”;
    echo “<time class=’date-container minor-meta updated’>”.get_the_time(get_option(‘date_format’)).”</time>”;
    echo “<span class=’text-sep text-sep-date’>/</span>”;

    if ( get_comments_number() != “0” || comments_open() ){

    echo “<span class=’comment-container minor-meta’>”;
    comments_popup_link( “0 “.__(‘Comments’,’avia_framework’),
    “1 “.__(‘Comment’ ,’avia_framework’),
    “% “.__(‘Comments’,’avia_framework’),’comments-link’,
    “”.__(‘Comments Disabled’,’avia_framework’));
    echo “</span>”;
    echo “<span class=’text-sep text-sep-comment’>/</span>”;
    }

    if(!empty($cats))
    {
    echo ‘<span class=”blog-categories minor-meta”>’.__(‘in’,’avia_framework’).” “;
    echo $cats;
    echo ‘</span><span class=”text-sep text-sep-cat”>/</span>’;
    }

    echo ‘<span class=”blog-author minor-meta”>’.__(‘by’,’avia_framework’).” “;
    echo ‘<span class=”entry-author-link” ‘.avia_markup_helper(array(‘context’ => ‘author_name’,’echo’=>false)).’>’;
    echo ‘<span class=”vcard author”><span class=”fn”>’;
    the_author_posts_link();
    echo ‘</span></span>’;
    echo ‘</span>’;
    echo ‘</span>’;
    echo ‘</span>’;
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode(‘the_post_meta’, ‘custom_shortcode_func’);

    function custom_shortcode_func2() {
    ob_start();
    echo the_category( ‘, ‘ );
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode(‘the_category’, ‘custom_shortcode_func2’);

    function custom_tags_shortcode() {
    ob_start();
    the_tags(‘‘.__(‘Tags:’,’avia_framework’).’ ‘);
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode(‘the_post_tags’, ‘custom_tags_shortcode’);

    in reply to: Question about Transferring set up to our actual site #714758

    function custom_tags_shorcode() {
    ob_start();
    the_tags(‘‘.__(‘Tags:’,’avia_framework’).’ ‘);
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode(‘the_post_tags’, ‘custom_tags_shorcode’);

    it seems the code is written incorrectly or should shortcode be spelt shorcode?

    in reply to: Blog using LAYOUT BUILDER #713947

    REVIEW:
    ______________________________________________
    TAGS, CATEGORIES:
    Visible in
    Blog Page, Category Pages

    NOT visible in:
    Post Pages

    HOW TO ADD? or WHAT have I missed in your instructions?

    : )
    ––––––––––––––––––––––––––––––––––––––––––––––––

    Is it possible to add a Yoast Taxonomy Widget (would it work) with the Layout Builder?
    My client wants two levels of Tags

    ––––––––––––––––––––––––––––––––––––––––––––––––

    I would like to take this opportunity to REALLY thank you for your patience and help. I used the “Layout Builder” with the posts because I wanted to have the full-width color bar above the sidebar and blog pages to keep with the websites design. This did not appear to be possible with the “Default Editor”. OR IS IT? I would suggest it be clearly stated that it is complicated to use the Layout builder with posts unless one is familiar with PHP. It would be great to add a step-by-step guide on how to do this in your documentation.

    –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

    Waiting to hear from you so I can finish this up.
    Thanks again!
    Dara

    in reply to: full-width color-bar above post entry? #713461

    View post on imgur.com


    this is an image of a normal page with a full-width color bar

    in reply to: Blog using LAYOUT BUILDER #713231

    this did not seem to work to show the TAGS unless we did something wrong.
    The CATEGORIES is also still not showing or have I missed something

    We created the folder on the server in the Enfold Child and followed your instructions:
    #710134 REPLY.

    Here is the example page:

    The DATE/COMMENTS/AUTHOR is there now thanks from before.

    there is some progress : )

    in reply to: Blog using LAYOUT BUILDER #713123

    OK – I will let you know in the next day hopefully. Thanks for keeping this window open.
    : )

    in reply to: styling menu widget #713096

    Thanks I will in the next 2 days.: ) Dara

    in reply to: Blog using LAYOUT BUILDER #711895

    View post on imgur.com


    http://www.tcm-team.at/category/rezepte/
    ok the above has date and comments: YES

    below is missing date and comments:

    View post on imgur.com


    does adding them involve more PHP?

    WE ARE NEARLY FINISHED – YES!
    thanks for all your help.
    Dara

    in reply to: Blog using LAYOUT BUILDER #711890

    .html_elegant-blog .archive .post-entry .blog-author, .html_elegant-blog .archive .post-entry .comment-container + .text-sep {
    display: none;
    }

    Thanks for the CSS! This worked like a dream – getting somewhere in a way I can follow what is going on

    in reply to: Blog using LAYOUT BUILDER #711865

    Thanks Ismae!……
    1 – Are you telling us to add the above code in the parent theme?
    if so, what happens then with the updates? (I do not see numbered lines (line 232))
    2 – We have a child theme set up for this with the following code in the functions.php:
    can I add the code there?

    best regards,
    Dara

    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    function custom_shortcode_func() {
    ob_start();
    echo “<span class=’post-meta-infos’>”;
    echo “<time class=’date-container minor-meta updated’>”.get_the_time(get_option(‘date_format’)).”</time>”;
    echo “<span class=’text-sep text-sep-date’>/</span>”;

    if ( get_comments_number() != “0” || comments_open() ){

    echo “<span class=’comment-container minor-meta’>”;
    comments_popup_link( “0 “.__(‘Comments’,’avia_framework’),
    “1 “.__(‘Comment’ ,’avia_framework’),
    “% “.__(‘Comments’,’avia_framework’),’comments-link’,
    “”.__(‘Comments Disabled’,’avia_framework’));
    echo “</span>”;
    echo “<span class=’text-sep text-sep-comment’>/</span>”;
    }

    if(!empty($cats))
    {
    echo ‘<span class=”blog-categories minor-meta”>’.__(‘in’,’avia_framework’).” “;
    echo $cats;
    echo ‘</span><span class=”text-sep text-sep-cat”>/</span>’;
    }

    echo ‘<span class=”blog-author minor-meta”>’.__(‘by’,’avia_framework’).” “;
    echo ‘<span class=”entry-author-link” ‘.avia_markup_helper(array(‘context’ => ‘author_name’,’echo’=>false)).’>’;
    echo ‘<span class=”vcard author”><span class=”fn”>’;
    the_author_posts_link();
    echo ‘</span></span>’;
    echo ‘</span>’;
    echo ‘</span>’;
    echo ‘</span>’;
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode(‘the_post_meta’, ‘custom_shortcode_func’);

    in reply to: Blog using LAYOUT BUILDER #709866

    http://www.tcm-team.at/category/eintopfe/
    Tags are missing : how to add?
    Author is showing: how to remove ?

    http://www.tcm-team.at/blog/
    Tags are missing : how to add?

    Is this clear?

    in reply to: Blog using LAYOUT BUILDER #709854

    Within the POST the category/categories, share are missing as well
    how to add these?

    in reply to: Blog using LAYOUT BUILDER #709853

    Dear Andy This is what is there already.
    Either you or Yigit put this code in because when I tried the entire website disappeared.

    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    function custom_shortcode_func() {
    ob_start();
    echo “<span class=’post-meta-infos’>”;
    echo “<time class=’date-container minor-meta updated’>”.get_the_time(get_option(‘date_format’)).”</time>”;
    echo “<span class=’text-sep text-sep-date’>/</span>”;

    if ( get_comments_number() != “0” || comments_open() ){

    echo “<span class=’comment-container minor-meta’>”;
    comments_popup_link( “0 “.__(‘Comments’,’avia_framework’),
    “1 “.__(‘Comment’ ,’avia_framework’),
    “% “.__(‘Comments’,’avia_framework’),’comments-link’,
    “”.__(‘Comments Disabled’,’avia_framework’));
    echo “</span>”;
    echo “<span class=’text-sep text-sep-comment’>/</span>”;
    }

    if(!empty($cats))
    {
    echo ‘<span class=”blog-categories minor-meta”>’.__(‘in’,’avia_framework’).” “;
    echo $cats;
    echo ‘</span><span class=”text-sep text-sep-cat”>/</span>’;
    }

    echo ‘<span class=”blog-author minor-meta”>’.__(‘by’,’avia_framework’).” “;
    echo ‘<span class=”entry-author-link” ‘.avia_markup_helper(array(‘context’ => ‘author_name’,’echo’=>false)).’>’;
    echo ‘<span class=”vcard author”><span class=”fn”>’;
    the_author_posts_link();
    echo ‘</span></span>’;
    echo ‘</span>’;
    echo ‘</span>’;
    echo ‘</span>’;
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode(‘the_post_meta’, ‘custom_shortcode_func’);

    DO I ADD the following shortcode for adding Tags within a Post?:
    function custom_shortcode_func2() {
    ob_start();
    echo the_tags(‘‘.__(‘Tags:’,’avia_framework’).’ ‘);
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode(‘the_post_tags’, ‘custom_shortcode_func2’);

    Thanks!

    in reply to: Blog using LAYOUT BUILDER – Fonts/Styling #709833
    in reply to: WEBSITE IS GONE! URGENT! #709288

    A late THANKS for all your help
    : )

    Thanks! The thread you sent me is confusing.
    I will begin a new thread.
    Again thanks

    best regards,
    Dara

    Thanks
    I am really trying to make my request clear.
    Is it?

    (It would be great to have some step-by-step documentation to show people like me how to use the Layout Builder in the blog and retain options.+
    OR to make it VERY clear that there are complications in choosing this route.)

    1 – how to remove the author, date, comments?
    both WITHIN a blog page and in the main category or tag pages

    2 – do we paste the following into PHP file to see the TAGS?:

    function custom_shortcode_func2() {
    ob_start();
    echo the_tags(‘‘.__(‘Tags:’,’avia_framework’).’ ‘);
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode(‘the_post_tags’, ‘custom_shortcode_func2’);

    We do NOT want to see:
    author, date and comments

    We WANT to see:
    TAGS, CATEGORIES

    Thanks Yigit!

    Now please excuse the ignorance:
    You have pasted code into the functions PHP which will allow that we can see tags and categories in the individual post as well as in the main category pages?

    Here we need to see the tags (categories are visible)

    here we can see “name” “comment” and”date” which we DO NOT WANT.
    http://www.tcm-team.at/category/rezepte/zum-fruhstuck-oder-zwischendurch/
    how to remove?

    [the_post_meta]
    what does this do?

    Thanks!

    thanks here is are the various logins

    oh yes excuse! in my haste I gave you the wordpress admin logins
    give me 5 minutes to go into another computer
    thanks!

    All I want to do is to be able to add the tags and categories to the blog built in the Layout Builder.
    …and delete the “name”, “post date”

    and “more” button

    *moved content into private content field*

    • This reply was modified 8 years ago by Yigit.

    I cannot get in to remove the code and therefore I cannot give any login data either.

    Dear Andy, This is what I got when I followed the instructions to paste into the PHP File
    THE ENTIRE WEBSITE IS NO LONGER THERE!
    Parse error: syntax error, unexpected ‘<‘ in /home/.sites/47/site6089695/web/wp-content/themes/enfold-child/functions.php on line 11

    Thanks Andy where is the default Enfold folder?

    So this:
    Create a new php file, name it “post_meta_infos” then add code from the following pastebin. Save then you should see the new element named Post Meta in the advance layout builder: http://pastebin.com/qsXmPDQJ

    1 – first I create a
    Enfold Child: Theme Functions (functions.php)

    2 – I name it
    “post_meta_infos”? thread on Feb. 9.2016
    how to name it “post_meta_infos”?

    OR?

    DO I PUT “post_meta_infos” somewhere else?

    3 – then I add the entire pastebin code in the child theme PHP?

    4 – Then I save

    5 – Then I add another code from thread feb 10?

    or have I already gotten this wrong from the start ?

    never dealt with PHP and if I had known that it would be so complicated I would never have used the builder.
    Enfold did not make it clear that this would bring in so many unnecessary issues.

    : )

    thanks for your reply

    • This reply was modified 8 years, 1 month ago by DaraEmerson.

    Dear Andy,

    go to Enfold->Blog Layout->”Blog meta elements” and “Share links at the bottom of your blog post” and make your settings there.
    thanks but this has been done since the beginning and it does not work

    main BLOG page looks one way.
    The individual POST or CATEGORY sections different.
    They need to have the same look as the MAIN BLOG PAGE.
    Where is it possible to change these?

    ALB?
    What is this?

    Styles.CSS for Enfold Parent Theme
    where can I acces this so I can change elements in the style sheet?

    PERMALINKS for BLOG POSTS:
    we are just getting numbers rather than website name: category: post name

    thanks
    dara

    THANKS AHEAD!

    Set the design of BLOG to the Advanced Layout Builder.
    the Author, Date and Comments is NOT showing on the MAIN BLOG PAGE
    It does, however, show on the MAIN CATEGORY PAGES.
    We do NOT want: Author, Date, Comments on any page

    We DO want:
    BLOG POST CATEGORY
    BLOG POST TAGS
    to show on each blog post

    CATEGORIES show on the main category pages only
    TAGS not
    FACEBOOK etc… not

    In addition
    main BLOG page looks one way.
    The individual POST or CATEGORY sections different.
    They need to have the same look as the MAIN BLOG PAGE.
    Where is it possible to change these?

    The SIDE MENU of the BLOG PAGE is different than the SIDE MENUs we have on the normal Website pages.
    Why is that and where to change this?

    ALSO there is the word: “POST” showing on the upper left side of page when one clicks on a TAG. This we need to know how to remove.
    http://www.tcm-team.at/tag/tonisiert-milz-qi/

    I have tried to find the Styles.CSS for Enfold Parent Theme which used to be visible to find elements to alter in our Child Stylesheet.
    Cannot find it.

    PERMALINKS for BLOG POSTS: do not show properly

    AGAIN THANKS! Best regards

    I found this but it seems no longer to apply as the builder is active in creating posts
    Use the Layout Builder with any post type

    October 23, 2014/in PHP Snippets, Tutorials /by Kriesi/Last Updated: October 23, 2014
    The Advanced Layout Builder is by default only active for Pages and Portfolio items. If you want to use it with other post types (which are added by plugins for example) you can use the following code

Viewing 30 posts - 61 through 90 (of 147 total)