Forum Replies Created
-
AuthorPosts
-
October 9, 2025 at 7:58 am in reply to: Table of Contents Widget – Current Position and Headline #1489977
I added this code now:
add_action('wp_footer', function () { ?> <script> document.addEventListener("DOMContentLoaded", function () { const tocLinks = document.querySelectorAll('.avia-toc-link'); const headingSelectors = document.querySelector('.avia-toc-container').dataset.level.split(','); const headings = Array.from(document.querySelectorAll(headingSelectors.join(','))); tocLinks.forEach(link => { link.addEventListener('click', function () { tocLinks.forEach(l => l.classList.remove('active')); this.classList.add('active'); }); }); function onScroll() { let scrollPosition = window.scrollY + 100; let currentId = null; for (let i = headings.length - 1; i >= 0; i--) { const heading = headings[i]; if (heading.offsetTop <= scrollPosition) { currentId = heading.id; break; } } if (currentId) { tocLinks.forEach(link => { link.classList.toggle('active', link.getAttribute('href') === '#' + currentId); }); } } window.addEventListener('scroll', onScroll); onScroll(); }); </script> <?php }, 9999);but a can’t see any change in the behaviour.
October 8, 2025 at 9:37 am in reply to: Remove featured image from blog post created with Gutenberg #1489952Thanks, now it disappeared.
October 8, 2025 at 9:13 am in reply to: Table of Contents Widget – Current Position and Headline #1489950I added both codes but I can’t see any change on the blog Post.
Is this correct ?
wp_footer
since it is the sidebar, not the footer?How can I change the font color and ensure that not only capital letters are used?
October 7, 2025 at 11:24 am in reply to: Remove featured image from blog post created with Gutenberg #1489928Nice, thank you!
Everything works now. Thank you!
Tags are gone now. Thank you. Can I also get rid of the author?
Thank you Ismail!
I tested it. Now I receive the date but also the author and the tags. Is it possible to just show the date?
Is this still the right way to do? I added the code but it doesn’t work.
-
This reply was modified 5 months, 3 weeks ago by
atx_m.
Ok, I’ll have a look at it. Thank you.
February 27, 2025 at 10:00 am in reply to: Same height and position for content elements in layout elements #1478099Thank you
Thank you
@Rikard
The default WordPress setting is not available when I use WPML. The option is grayed out and I have this notice there:“When WPML is activated, the site language should be changed in the WPML Site Languages section.”
@Guenni007
I have exactly the same settings in WPML as in your screenshot. Nevertheless, I have this text on the page:“Das könnte Dich auch interessieren”
Im using WPML and there isn’t the option to use different levels of politeness. There is just german.
Is there a other way to change the text?Thank you!
Hi Mike,
what do I need to change in your code to define the layout as “Title and Excerpt + Read More Link”?Is it also possible to ad a submenu to those pages through this solution?
Thanks,
Christian-
This reply was modified 1 year ago by
atx_m.
October 16, 2024 at 3:59 pm in reply to: Add content to posts based on their tags/categories #1469245Thank you for your reply.
If I would do it manualy: Is there a way to put the Page Content element in a Layout Element (for example 1/5)?
Or ist there any other way to have a Page Content on the right column of the page?The options CSS File Merging And Compression and Javascript File Merging And Compression where already both deactivated.
We use WPRocket. I emptied the cache a couple of times before. So unfortunately the problem still exists.-
This reply was modified 2 years, 4 months ago by
atx_m.
-
This reply was modified 5 months, 3 weeks ago by
-
AuthorPosts
