...
<li class="wb_cptb_2_tab active" id="tab-title-wb_cptb_2">
<!-- CUSTOM tab: if URL ends with #tab-wb_cptb_2, this tab is not open by default -->
<a href="#tab-wb_cptb_2" role="tab" aria-controls="tab-wb_cptb_2" aria-selected="true" tabindex="0"> Table of Contents</a></li>
<li class="reviews_tab" id="tab-title-reviews">
<!-- BUILT-IN tab: if URL ends with #tab-reviews, this tab is opened on page load -->
<a href="#tab-reviews" role="tab" aria-controls="tab-reviews" aria-selected="false" tabindex="-1"> Reviews (0)</a></li>
</ul>
I’m on WordPress 6.7.2 running Kadence theme, and WooCommerce version 9.7.1. Any help would be appreciated, thanks.
]]><a id="quadra"></a>
But then how could I add a link to that anchor without writing myself this?
<a href="#quadra">quadra</a>
]]>When I create a top-level parent column using Stackable and assign an anchor ID, the same ID is automatically applied to the child Heading elements. In this case, I can edit the child ID, but I can’t delete it.
Is there perhaps a hook to disable this behavior?
Because of this issue, when I click on the navigation link assigned to #foo
, there are two #foo
IDs, causing some sections to scroll to the wrong location. Additionally, when I refresh the page, it reloads to an unintended position.
I would appreciate it if you could let me know if there’s a hook to address this issue.
]]>Happy New Year!
I hope this message finds you well.
We would like to let you know that in the light of the recent updates (current version 3.6.8) a previously resolved issue has returned again.
Plugin versions 2.2.4 and 2.3.9 have successfully resolved the issue about HTML link tags getting removed from the Cookie Notice in the frontend. However, it seems that issue has returned again.
Here is an example “GDPR Message”:
<a >Example.com</a>, uses cookies in order to blah blah blah...
Unfortunately, the plugin strips off the link tag:
<a ></a>
With regard to my previously suggested fixes (here and here) , it is possible that the same approach might be eligible for the current version.
For example:
File: gdpr-cookie-consent/public/templates/skins/default.php
Line 33:
Current code:
<div class="group-description" tabindex="0"><p class="gdpr"><?php echo $the_options['is_iabtcf_on'] ? $cookie_data['dash_notify_message_iabtcf']: esc_html__( $cookie_data['dash_notify_message'], '<a><br><em><strong><span><p><i><img><b><div><label>' ); ?>
Suggested modification:
<div class="group-description" tabindex="0"><p class="gdpr"><?php echo $the_options['is_iabtcf_on'] ? $cookie_data['dash_notify_message_iabtcf']: strip_tags(__( $cookie_data['dash_notify_message']), '<a><br><em><strong><span><p><i><img><b><div><label>' ); ?>
As previously, this suggestion employs again the PHP function strip_tags()
instead of esc_html()
to escape HTML tags in the frontend without compromising security.
We would be grateful if you could re-implement the proposed fix or take any other action that remedies the issue in the next update to allow basic HTML markup the in consent message.
Thank you for your attention to this matter, and we look forward to your response.
Best regards,
George
I searched for days and tried many things, but I did not find a solution…
I would like a plugin that lists automatically the anchors or text style of titles in the text of an article… and to look like the list at top of https://lahunelle.be/catalogues/categories/pommier-new below “Variétés” title. (Drupal)
I found many “Anchor list links” and “Table of content” plugins, but they list the anchor links in 1 column, not horizontaly like my website example…
Could you please advise me a good plugin or tell me how to achieve this goal ?
Thank you very much for you help !!!
I wish you a happy end of year
Windows 11 Pro with Firefox or Chrome
I want to set an anchor e.g. at “Ausgew?hlte Inhalte des Webinars” so I can jump to it from different other pages.
I have tried to follow instructions posted in different places on how to set an anchor. New block and entering text – Going to Advanced -> HTML Anchor -> entering Webinar-Inhalte. There is no reaction whether this worked, but when going to Ausgew?hlte Inhalte des Webinars the entry is there. Then at any other page linking to #Ausgew?hlte Inhalte des Webinars should set the jump to Ausgew?hlte Inhalte des Webinars but it does not.
I have this WordPress installation tried at different providers. None worked. So maybe there is a basic misunderstanding of the instructions I found on the net.
]]>