Forum Replies Created

Viewing 30 posts - 31 through 60 (of 147 total)
  • Author
    Posts
  • in reply to: remove word "Posts" from search results via tags #724525

    I am checking with our client

    in reply to: remove word "Posts" from search results via tags #724522

    This should work. Is it because I am in the PHP area still? I am no technician at all.

    in reply to: remove word "Posts" from search results via tags #724517

    Here is the FTP login in the private message

    in reply to: remove word "Posts" from search results via tags #724514

    help! panic!
    here is the php from the child theme which worked fine before adding the new code (above this)

    <?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: remove word "Posts" from search results via tags #724513

    Fatal error: Call to undefined function add_filters() in /home/.sites/47/site6089695/web/wp-content/themes/enfold-child/functions.php on line 9

    in reply to: remove word "Posts" from search results via tags #724511

    website not longer works!

    in reply to: remove word "Posts" from search results via tags #724510

    now Icannot save my php after removing the code without getting a fatal error message!

    in reply to: remove word "Posts" from search results via tags #724508

    Thanks for the prompt reply!
    UNFORTUNATELY:
    oops! I get a “Fatal error” message!
    luckily I could revert back and remove the code.
    did I do something wrong?
    : )
    Dara

    in reply to: styling menu widget #722677

    Dear Ismael,
    Thank you for all the help.
    they all worked.
    It is so obvious when seen – I do not know why my code did not work.

    Last questions:
    1 – the featured images for the blog posts are not appearing.
    Is there any reason for this? how to remedy?
    2 – When searching via TAGS the pages have all the word “Posts” in the upper left corner of page
    how to remove this?

    View post on imgur.com

    Thanks! and Best regards,
    Dara

    • This reply was modified 7 years, 10 months ago by DaraEmerson.
    in reply to: styling menu widget #720448

    Thanks Ismael!
    some things worked and others not.
    I have been fiddling about with in in inspection mode and tried to clean things up a bit.
    Appreciate the clarification!

    1 – still trying to figure out how to add the lines in-between the category sections.
    (see #719334 where image is placed)

    2 – how to increase the spacing between these lines – so there is also more space between the sub-category and the next main category item?
    (which I can probably figure out once I have question “1” answered)

    View post on imgur.com

    3 – the “roll-over” works but “current” not.
    I assume there is an automatically programmed “current” based on menu color which makes it simply bolder

    View post on imgur.com

    Have a great Monday! THe sun is shining. At least in Vienna

    in reply to: Blog using LAYOUT BUILDER – Fonts/Styling #719672

    thanks!
    best regards
    dara

    in reply to: Blog using LAYOUT BUILDER – Fonts/Styling #719640

    Thanks Andy
    I would like to add a different text altogether to this.
    It is a one off thing (ha! I hope)
    : )

    Dara

    in reply to: Blog using LAYOUT BUILDER #719608

    so these divider lines are now gone everywhere – thanks!
    BUT NOT in the MAIN BLOG PAGE

    View post on imgur.com

    : )

    in reply to: Blog using LAYOUT BUILDER – Fonts/Styling #719599

    Thanks, very nice Rikard!
    There is one more thing.
    How/Where can one change the text which appears before the AUTHOR?
    currently is says “by”
    Our client wants something written in German.

    View post on imgur.com

    Thanks
    Best regards,
    Dara

    ….can we actually place the Facebook, pin etc… links within that as well?
    just out of curiosity

    • This reply was modified 7 years, 10 months ago by DaraEmerson.
    in reply to: styling menu widget #719334

    Dear Yigit,

    I want it to look like this always – whether one is in the main blog page or in a category etc….
    (css for “active” rather than “visited” link)

    View post on imgur.com

    There seems to be more levels of menu css for this
    the menu changes – this is what is happening now:
    1 – main blog page

    View post on imgur.com


    2 – main category page

    View post on imgur.com


    3 – subcategory

    View post on imgur.com


    4 – Tags category

    View post on imgur.com

    SO:
    – The hover, active links need to be the same
    – The subcategory needs to be indented always
    – css for the horizontal lines above and below the category areas in in the snapshot
    – css for the line height of the menu

    Is this clear?

    thanks!
    best regards,
    Dara

    • This reply was modified 7 years, 10 months ago by DaraEmerson.
    in reply to: Blog using LAYOUT BUILDER – Fonts/Styling #719323

    thanks!

    in reply to: Blog using LAYOUT BUILDER #719248

    thanks but I am using the layout builder – it does not work
    there must be some css, or?

    Thanks in advance!

    Best regards,
    Dara

    in reply to: Blog using LAYOUT BUILDER #718930

    Oh please excuse there was a glitch.
    it works now and thanks for the css!

    best regards,
    Dara

    PS how to remove the comments?
    css?

    in reply to: Blog using LAYOUT BUILDER #718703

    strange, when I add this code in and try to update it asks me if I really want to do this? that, on a blank page which opens up.

    in reply to: styling menu widget #718467

    oops! sent you the incorrect css which I had already removed from the css (but thanks for the info on that) so disregard.
    the “correct” CSS I tried but failed with is in the above thread #712462

    All I am looking for is the CSS for sidebar widget menu:
    category, roll-over, visited
    sub-category, roll-over, visited
    adjust the lines and line-height
    etc,,,

    best regards,
    Dara

    • This reply was modified 7 years, 10 months ago by DaraEmerson.
    in reply to: Blog using LAYOUT BUILDER – Fonts/Styling #718465

    View post on imgur.com

    ONLY in POSTS (all, not just the link provided)
    the: date / Comment/ Author

    thanks!
    Dara

    best regards

    in reply to: Blog using LAYOUT BUILDER – Fonts/Styling #717868

    Thanks Ismael!
    In BLOG posts only I would like to “align-left” the post-meta info.
    In the main blog, category and tags pages I would like it to remain centered on the page.
    Is there a way to do this with CSS?

    Best regards,
    Dara

    in reply to: Blog using LAYOUT BUILDER #717822

    but it also removes the dividing lines everywhere else

    Here is the CSS I have:

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

    /*remove COMMENTS, DATE everywhere but the Post pages*/
    .page .comment-container, .page .date-container, .archive .comment-container, .archive .date-container {
    display: none;
    }

    .post-meta-infos span.text-sep {
    display: none !important;
    }

    • This reply was modified 7 years, 10 months ago by DaraEmerson.
    in reply to: Blog using LAYOUT BUILDER #717818

    Thanks! Quick reply! it works
    but it also removes the dividing lines everywhere else
    Dara

    • This reply was modified 7 years, 10 months ago by DaraEmerson.
    in reply to: Blog using LAYOUT BUILDER #717788

    Ok, great, thanks
    the text separators are still showing though

    View post on imgur.com

    in reply to: styling menu widget #717772

    OK Yigit – is this image enough for you?

    View post on imgur.com

    thanks,
    Dara

    PS here is all the css for this subject:

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

    /*remove COMMENTS, DATE everywhere but the Post pages*/
    .page .comment-container, .page .date-container, .archive .comment-container, .archive .date-container {
    display: none;
    }

    /* BLOG SHOW DATE; COMMENT

    #top . (Purchase code hidden if logged out) .minor-meta.date-container, #top . (Purchase code hidden if logged out) .text-sep-date {
    display: inline-block;
    }

    #top . (Purchase code hidden if logged out) .minor-meta.comment-container, #top . (Purchase code hidden if logged out) .text-sep-comment {
    display: inline-block;
    } */

    • This reply was modified 7 years, 10 months ago by DaraEmerson.
    in reply to: Blog using LAYOUT BUILDER #715813

    Thanks maybe you missed this question?
    How to remove COMMENTS, DATE everywhere but the Post pages?

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

    thanks
    best regards,
    Dara

    in reply to: Blog using LAYOUT BUILDER #714783

    Shall I ask about adding the Yoast Taxonomy Widget in another query?
    I just wanted to know if we need to add more php to the file if we do add this Taxonomy Widget.

    in reply to: Blog using LAYOUT BUILDER #714782

    3 – Tags, Categories, Author, Date, Comment is now in Post pages, Main Blog Page, Category Pages, Tags pages: GREAT!
    How to remove COMMENTS, DATE everywhere but the Post pages?
    This is the CSS I have for removing the Author everywhere but the Blog pages
    /*BLOG Remove author*/
    .html_elegant-blog .archive .post-entry .blog-author, .html_elegant-blog .archive .post-entry .comment-container + .text-sep {
    display: none;
    }

Viewing 30 posts - 31 through 60 (of 147 total)