Jump to content

Archived

This topic is now archived and is closed to further replies.

Brian

Anchor Tags in Widgets

Recommended Posts

Brian

Hey @Simon, the most recent PL5 update disables anchor tags placed in widgets. The were working before. Any idea why and how to fix?

Share this post


Link to post
Share on other sites
Simon

disables anchor tags in what widgets? In the WordPress core widget editor?

Share this post


Link to post
Share on other sites
Brian

I was testing some anchor tags placed in various sections (e.g., Content, Button, Embed, and Widgets). It no longer recognizes the anchor in the WP core widget editor. (Note: It definitely worked before one of the most recent PL5 plugin/framework updates. Nothing new was added on my end.)

pl5-anchor-tags.thumb.png.08e1fec2057475

Share this post


Link to post
Share on other sites
Simon

it doesn't have any content ;)

Share this post


Link to post
Share on other sites
Brian

It worked before without any. Tried it with content and it still doesn't work. :(

Thoughts?

Share this post


Link to post
Share on other sites
Simon

you also dont have a href there

Screen_Shot_2015-10-20_at_20.26.37.thumbScreen_Shot_2015-10-20_at_20.26.44.thumb

Share this post


Link to post
Share on other sites
Brian

The href (#test-one) is being used in a menu or in the content of the page.

Share this post


Link to post
Share on other sites
Simon

I dont think an anchor will work without a href.

It certainly wont show in the page without any content

Share this post


Link to post
Share on other sites
Brian

I just replicated the anchor tags on a live testing server and it works again. Not sure why it stopped working on the local server.

Share this post


Link to post
Share on other sites

×