Okay
  Public Ticket #2842786
Can I add an anchor to a button on a post template
Closed

Comments

  • Peter started the conversation

    So using your new post template widget, or an edited version, I want to create a grid of posts, with a title, summary etc and a button that links to a page, specifying an anchor which is based on the post I'd, eg;

    www.mydomain.com/postspage#post123

    I would also specify the css I'd as the post id in the grid for each of the posts.


    Many thanks

    Pete

  • Peter replied

    So looking at your Dynamic Loop Grid widget, you only call in the template layout, which means I need to concentrate there. I thought your widget would include the template creation.


    REgards

    Pete

  • Peter replied

    So it doesn't seem there is a straight forward option within your standard widgets. I need to add a button which can link to a certain page and include a # anchor link which has the Post ID in it.

  •   Max replied privately
  • Peter replied

    Max,

    I have a grid of posts using Ele Custom skin, but that makes no difference, showing a summary of the content. The read More button on each post needs to link to the same page but to the section for that post using the anchor .

    On the target page I can give each post an CSS ID of say 'Post123' where the 123 is the post ID, but I cannot add the anchor value on the button to point the post on the target page.

    Regards

    Pete

  •   Max replied privately
  • Peter replied

    Thanks Max, but I solved it using Dynamic Content for Elementor.

    Regards

    Pete