Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1394797
    #1394826

    Hey annevoelkel,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1394828
    This reply has been marked as private.
    #1394858

    Hi,

    Thank you for the info.

    The link “Optional” redirects to a page called “hintergrundartikel”. Did you modify any of the template files or do any translations?

    Best regards,
    Ismael

    #1394898

    Hello Ismael,
    the site is two lingual by WMPL-plugin but I did not modify any templates. It is a very strange behavior of the category item in the builders blog post element but only at this website. I tested it at another website and had no ghost-category “Optional”.
    To explain the issue I manually set the post meta an different posts with and without link options (please see links attached). By default link the ghost “Optional”-category redirects to the home page. By setting “no link” it appears in the trail with no link. And “Optional” seems to appear at random position the trail.
    Any idea how to kill the ghost?

    Best regards
    Anne

    #1395599

    Hi Anne,

    Thanks for the information!

    Can we temporarily switch to Enfold parent theme for testing purposes? I would like to see if the issue is related to the modifications to your child theme.

    Best regards,
    Yigit

    #1395613

    Hi Yigit,

    it’s the WPML-plugin what causes the issue.

    I activated the parent Enfold theme and the ghost category “Optional” still remained. After switching back to the child theme and the WPML-plugin was deactivated the ghost category disappeared.

    But I need WPML. Any Idea? I think I should contact the plugin support.

    Best regards
    Anne

    • This reply was modified 1 year, 11 months ago by Yigit.
    #1395614

    Hi Yigit,

    the WPML-plugin causes the issue.

    I switched temporarily to the parent Enfold and the ghost category “Optional” remained. It disappeared after deactivating the plugin. Do you have any idea to solve the problem?
    WPML is essential for the website.

    Best regards
    Anne

    • This reply was modified 1 year, 11 months ago by Yigit.
    #1395615

    Where is my content? I wrote much more than the content above.

    #1395619

    Hey Anne,

    There is an issue on our forum when there is multiple “WPML” text in the same line. I edited your posts and added line breaks to avoid the issue.

    But I need WPML. Any Idea? I think I should contact the plugin support.

    Yes, please get in touch with the WPML support team as well. I am not sure if this is a theme-specific issue or not but they can check the issue and our devs can get in touch if it is so :)

    Regards,
    Yigit

    #1395620

    OK, I will do that and inform you about the results from WPML support.
    Best regards
    Anne

    #1395657

    Hi,

    Thanks for the update, we’ll keep this thread open for you.

    Best regards,
    Rikard

    #1395880

    Hello Ricard and Yigit,
    This is the reply of WPML’s support:
    “I’m not familiar with Enfold builder but I had a similar situation with a plugin that creates blog post cards. “Optional” comes from the WPML taxonomy “Translation priority”. Your plugin/ builder probably takes all taxonomies related to the post not only the WP standard “taxonomy=category”.
    Do you have any settings for that builder? Can you include/exclude some taxonomies from that breadcrumbs?”

    My answer:
    “It is not possible to include or exclude taxonomies from that breadcrumb trail by default in the builder but I hope to get a solution by Enfold’s developers. I’ll send them your answer and please find the debug infos attached.”

    Attached please find a shot of the WPML-plugin page “Taxononmie-Übersetzung > Übersetzungsprioritäten (taxonomy translation > Translation priority)”
    I’m looking forward to your ideas to solve the issue.
    Best regards
    Anne

    #1396187

    Hello Rikard and Yigit, wpml-support has access will take a closer look at the website.
    Best regards
    Anne

    #1396207

    Hi Anne,

    Thanks for the update!

    Enfold has a “avf_exclude_taxonomies” filter that can be used to exclude “translation_priority” taxonomy. I could not reproduce the issue on my WPML site and have not tested it on your installation yet but if you would like us to look into that, please post FTP logins here privately as well.

    Best regards,
    Yigit

    #1396263

    Hi Yigit, WPML-Support provided this solution:
    “Thanks for providing me access. I had a quick look at your theme’s code:
    As a quick/temporary fix while waiting for Enfold support, please go to “shortcodes/post_metadata.php” line 957 and add ‘translation_priority’ as an excluded taxonomy.
    Replace:
    1

    $excluded_taxonomies = apply_filters( ‘avf_post_metadata_excluded_taxonomies’, array( ‘post_tag’, ‘post_format’ ), $taxonomies );

    By:
    1

    $excluded_taxonomies = apply_filters( ‘avf_post_metadata_excluded_taxonomies’, array( ‘post_tag’, ‘post_format’, ‘translation_priority’ ), $taxonomies );

    I did so in my Childtheme (folder shortcodes/post_metadata.php) and it works. Is this what you also would recommend?
    Best regards
    Anne

    #1396346

    Hi,

    You can also use the avf_post_metadata_excluded_taxonomies filter in the functions.php file instead of editing the post_metadata.php template directly.

    add_filter("avf_post_metadata_excluded_taxonomies", function($excluded, $taxonomies) {
       $excluded[] = "translation_priority";
       return $excluded;
    }, 10, 2);
    

    Best regards,
    Ismael

    #1396379

    Hi Ismael,
    this works very well! Thank you very much and you can close the topic.
    Best regards
    Anne

    #1396381

    Hey Anne,

    Glad Ismael could help!

    For your information, our devs added a filter to exclude WPML taxonomy and it will be included in the upcoming version.

    Let us know if you have any other questions and enjoy the rest of your day :)

    Regards,
    Yigit

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘hide “optional” in post meta data category links’ is closed to new replies.