Making an Article title clickable

Answered

2 Comments

  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member of The Year - 2021

    hey Jill Kilty Newburn,

    If you want that your article link on that's showing on category page like below screenshot.

     

    and I want my above four articles directly redirect to my external pages then I have added the condition and checking the article ID as the below screenshot.

     

    You can check the single/multiple article IDs under anchor tag inside href = '  ..... '   with {{#is id 1111}} - {{else}}.

     

     

     

    If you want only for single article link then your code on category page like this:

     <a href="{{#is id 00000000}} https://instagram.com/ {{else}}
    {{url}} {{/is}}}"
    class="article-list-link"> {{title}} </a>

     

    you can get your article ID - click that article and see in the search-bar

    on your window, copy the ID and replace with 0000000 , then remove https://instagram.com/  and add your website link.

     

    00000000 - article ID that would be redirect to external webpage (custom URL).

     

    Please have a look at the below article.

    https://support.zendesk.com/hc/en-us/community/posts/360037678554-Linking-categories-to-external-urls-in-the-Copenhagen-theme-stopped-working

     

    If any confusion let me know :)

     

    Thanks

    Team Diziana

    1
  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member of The Year - 2021

    Another solution is:

    Add the custom anchor link with the text  ' Apply Here' and then check the category ID with the condition.

     

    Check Category ID

     

     

    Showing link  'Apply here'

     

     

    For the multiple categories:

     

    Need to remove my category ID and add your category ID.

     

    1

Please sign in to leave a comment.

Powered by Zendesk