Forum Replies Created

Viewing 30 posts - 1 through 30 (of 61 total)
  • Author
    Posts
  • in reply to: New filter : avf_masonry_loop_entry_content #1304953

    Hi Guenni007,
    You’re definitely right, I had made a typo and now it works !

    Too bad that the theme support recommends to edit the theme while they provide a robust solution :-((

    Thanks a lot again,
    Christophe

    in reply to: New filter : avf_masonry_loop_entry_content #1304871

    Hi Guenni007,
    I have already tried to enter this code in functions.php in my child theme, but it doesn’t work :-((

    in reply to: New filter : avf_masonry_loop_entry_content #1304828

    Hello Ismael,

    Seems that I have not been clear enough. Our need is to keep html tags in excerpts displayed on masonry grids.

    We have already edited av-helper-masonry.php in a child theme, this way :
    $loop_excerpt = strip_tags( $entry->post_excerpt );
    replaced by :
    $loop_excerpt = $entry->post_excerpt;

    It works well on our production site : https://ethiopiatropicaltours.com/ethiopia-tours-history-culture/

    However we need to reapply this change for each major release. So we would prefer a robust solution with a filter.

    Your change log mentions :
    added: filter avf_masonry_loop_entry_content: allows to filter content (e.g. to allow/skip HTML tags)

    So we would like to knows how to use this filter in order NOT to strip html tags in excerpts, if possible.

    Thanks,
    Christophe

    in reply to: New filter : avf_masonry_loop_entry_content #1304427

    Hello,

    I am taking over from a previous wenbmaster.
    In fact the above solution does not work (I don’t kown whether it has ever worked),
    HTML tags are still stripped : https://test.ethiopiatropicaltours.com/ethiopia-tours-history-culture/

    Can you please advise how to set up this filter so that HLML tags are not stripped in masonry excerpts ?
    Thanks
    Christophe

    in reply to: New filter : avf_masonry_loop_entry_content #1228055

    Here is the solution :

    add_filter(‘avf_masonry_loop_entry_content’, ‘my_avf_masonry_loop_entry_content’, 10, 2);
    function my_avf_masonry_loop_entry_content($loop_excerpt, $entry) {
    $loop_excerpt=$entry->post_excerpt;
    return $loop_excerpt;
    }

    in reply to: HTML markup in excerpt has been lost #1175470

    Great news. I will give you a feedback here.
    Bérangère

    in reply to: HTML markup in excerpt has been lost #1175450

    Hi Yigit,
    I have already implemented this. Via a child theme and not in the parent theme.
    It works but requires to check the file for each now release.
    A robust solution, with a filter in the child theme would be much appreciated.

    Best regards
    Bérangère

    in reply to: HTML markup in excerpt has been lost #1175434

    Hey Yigit,
    I have entered this code in functions.php of my child theme and it triggers a critical error.

    Berangere

    in reply to: HTML markup in excerpt has been lost #1175393

    For information, I have sorted it out with the above solution but need to check the php file for each new release, whicn is really a hassle.

    • This reply was modified 4 years, 6 months ago by caudebert.
    in reply to: HTML markup in excerpt has been lost #780444

    Hi Ismael,

    I cannot remove these line breaks because are not in the HTML code of my excerpts. They are created by the new Enfold version. I have switched back to the former theme version and no <br> shows in the code.

    For example, here is the html code of the tour “Historic North Road”
    <p><u>Easy</u> – 10 days, 9 nights</p>
    <p>A classical tour of North Ethiopia. Visit the fabulous sites of Axum, Gondar and Lalibela. Enjoy sceneries, nature, endemic animals and the charming Ethiopian people.</p>

    and see the outcome here at the bottom of the page : https://test.ethiopiatropicaltours.com/

    I think that the code change that you have provided above needs to be adapted for the new release.

    Cheers
    Bérangère

    • This reply was modified 7 years, 3 months ago by caudebert. Reason: fix typos
    in reply to: HTML markup in excerpt has been lost #780085

    Hello Kriesi team,

    I have applied the method suggested by Ismael on Feb 16 and it worked. I have been able to apply the codes changes via a child theme.

    Unfortunately, I have issues again since I upgraded to Enfold 4.0. As I noticed that “av-helper-masonry.php” has been changed, I reapplied the code changes in my child theme based on the new version.

    And now, I have double line breaks, as visible here : https://test.ethiopiatropicaltours.com/ethiopia-tours-history-culture/

    It is not an option to remain with the previous version of “av-helper-masonry.php” because sooner of later I will have issues….

    Please help,
    Bérangère

    Hi, I have the same issue.
    Product images don’t show with the latest versions of Woo and Enfold.
    I have deactivated all plugins : still doesn’t work.
    I have switched to my parent theme : still doesn’t work.
    I have switched to other themes : Storefront and Flatsome : works.
    So it seems that Enfold requires a fix.
    Bérangère

    in reply to: HTML markup in excerpt has been lost #747401

    Hello Ismael,

    I a extremely frustrated and disappointed by this answer.

    Root cause of my issue : The Enfold team’s decision to remove a functionality : hmtl tags in Masonry excerpts.

    Unfortunately for me, I have just built for a customer a website which heavily relies on this fonctionality. Have a look at https://ethiopiatropicaltours.com and you’ll understand.

    Changing the shortcode in the parent theme is against all recommended WordPress practises and means that the customer will never be able to update the site on her own.

    As I mentioned in my previous message, this places me in a very difficult situation with my customer. I can’t leave her alone with that issue, and cannot also not perform additional maintenance or rebuild work for free.

    I hope you will be able to provide a workable and sustainable solution.

    Bérangère

    in reply to: HTML markup in excerpt has been lost #744869

    Hello,

    This workaround was working when you implemented it 3 weeks ago, but not any more. I have just updated WP and the theme to the latest versions in my test environment (where you made the change in the child theme) and html markup doesn’t show any more.

    I have copied the config-templatebuilder folder to the child theme and re-applied the change at line 436 in av-helper-masonry.php, but it still doesn’t work.

    More generally, having a custom version of the masonry shortcode is not a sustainable solution – it requires to test and potentially apply changes at each new version, even with a child theme.

    This site is totally dependant on html markup in masonry excerpts, which are used in dozens of pages. I have recommended Enfold to my customer because all its features made it possible to build the site without any changes in the theme’s templates, thus limiting maintenance effort. I have trained my customer to update the site on her own, I just can’t go back to her and tell her that it might not work well due to a custom template.

    I am extremely annoyed and hope you will find a solution to restore the previous functionality in the standard version of the theme.

    Thanks

    Bérangère

    in reply to: HTML markup in excerpt has been lost #734358

    Hello Ismael,
    I have opened “config-templatebuilder > avia-shortcodes > av-helper-masonry.php”, but dindn’t find the piece of code you are mentioning.
    I provide you an FTP access to the test environment so you can have a look, test and change whatever you need.
    Thanks
    Bérangère

    in reply to: HTML markup in excerpt has been lost #732263

    Here you are.
    It is a test site, feel free to perform any actions needed.

    FYI, I have tested on the parent theme, with all plugins disabled, unsing standard posts and not CPTs. Same issue.

    Thanks !

    • This reply was modified 7 years, 6 months ago by caudebert.
    in reply to: Add Read More text on Grid blog archive page ? #732158

    Please close,
    Bérangère

    in reply to: Strong tag instead of h1 for blog title #732157

    Done, please close !
    Bérangère

    in reply to: RSS links return 404 for portfolio item – on 2 sites #720650

    Hello Andy,

    I have found a solution in the 1st thread by applying the following filter :
    add_action(‘wp_head’,’avia_remove_feed’, 1);
    function avia_remove_feed(){
    if(is_single() && get_post_type() == ‘portfolio’) remove_action( ‘wp_head’, ‘feed_links_extra’, 3 );
    }

    I have checked your demo and there is the same issue : view-source:http://kriesi.at/themes/enfold/portfolio-item/single-portfolio-23-gallery-3/

    Maybe you should solve this once for all :-)

    Thanks anyway !
    Bérangère

    • This reply was modified 7 years, 7 months ago by caudebert. Reason: typo
    in reply to: RSS links return 404 for portfolio item – on 2 sites #719415

    Hello,
    I have tried on the 2 sites. Unfortunately it does not change anything.

    Christophe / Bérangère

    in reply to: RSS links return 404 for portfolio item – on 2 sites #706056

    Hi,

    Please find the credentials in the private area.

    Christophe / Bérangère

    in reply to: Strong tag instead of h1 for blog title #696050

    Hi Yigit,

    Yes it works, I had already tested, But I still don’t understand the logic behind this.

    Why have an h1 for all page titles and NOT on the blog page, especially if your intention is to follow Yoast’s SEO guidelines ?

    I have implemented a workaround. In the theme settings I have left “blog page” blank. And then created a normal page with a “blog posts” block in it. Doing this, my blog page has a standard h1 page title with the relevant styling.

    I’m not so happy, but don’t feel like fussing further for that. It’s up to,you to decide whether you wish to improve this or not.

    I love Enfold, one the best themes in my opinion, but I find the blog not the best part of it….

    Cheers
    Bérangère

    • This reply was modified 7 years, 9 months ago by caudebert.
    in reply to: Strong tag instead of h1 for blog title #694333

    Hello Ismael,

    Sorry but I don’t catch your answer. If your intention is to follow Yoast’s guidelines, then the theme should place a h1 tag on the title of the blog page and not a “strong” tag.

    Yoast’s guidelines are exactly what I am trying to achieve, it works when using just the parent theme, but not when using a child theme, even an empty one.

    Bérangère

    in reply to: Enfold with WPML : Fontawesome icons don't display #689075

    Hello Ismael,

    Yes the change in the .htaccess has been done in the relevant domain.

    In parallel I have reinitialised the .htaccess file, re-entered the lines for the CORS fix, and then deleted and reinstall all plugins which write into the .htaccess file (WP Rocket, Wordfence, Move Login) and now IT WORKS.

    I have applied the same method to the live site and it also works.

    Problem solved : Thanks for the support !

    Bérangère

    in reply to: Strong tag instead of h1 for blog title #689040

    Hello again,
    I have made some additional testing.

    As the issue happens only with the child theme, I have removed the content of my child theme’s functions.php and style.css. The issue is still there.

    So it seems that the tag of the blog page title is not the same when you use a child theme or not.

    Hope this helps.

    Bérangère

    .

    in reply to: Strong tag instead of h1 for blog title #689025

    Hi Rikard,
    as I said above, you can see the error on the title of the page even if there are no posts.
    The word “blog” has a strong tag and not a h1 tag.
    Regards
    Bérangère

    in reply to: Strong tag instead of h1 for blog title #688460

    Oh sorry there is a “move login” plugin on this site, you will find the admin url in the private area.
    There are no blog posts for the moment but you can see the issue on title of the blog page :
    https://ethiopiatropicaltours.com/blog/, the word “blog” has a strong tag instead of a h1 tag.

    Let me know if you need more information,
    Bérangère

    in reply to: Enfold with WPML : Fontawesome icons don't display #687535

    Hi Yigit,
    I have made the change in the .htaccess file, it works now for the fontawesome icon but not for the one from flaticon :
    https://testfr.ethiopiatropicaltours.com/test-icon/

    I have added icons from Flaticon ollowing those instructions :

    and it works perfectly except with WPML multi-domains.

    FYI : I have updated the test site to the latest Enfold version. No plugins (except WPML) and no child theme currently activated on the test site.

    Bérangère

    • This reply was modified 7 years, 10 months ago by caudebert.
    in reply to: Enfold with WPML : Fontawesome icons don't display #687051

    Hi Yigit,

    sorry I provided the links to the home page and not to the test post.

    Here you are :

    French version : https://testfr.ethiopiatropicaltours.com/test-icon-fr/
    English version : https://test.ethiopiatropicaltours.com/test-icon/

    Bérangère

    in reply to: Enfold WPML language switcher : hide unavailable languages ? #682703

    Thanks a lot Josue, it works like a charm.
    Best regards
    Bérangère

Viewing 30 posts - 1 through 30 (of 61 total)