• Resolved jcyoga18

    (@jcyoga18)


    My the posts which appear on my homepage at https://massage.yogaha.com do not show the active hyperlinks- in fact the links don’t appear to be there at all. The active links only appear in the post by selecting the ‘Continue Reading’ option. I would like to know how to make the links active on the posts that appear on the homepage as well. I presume this is a css setting? Can someone advise me where to look/what to change please? Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello @jcyoga18,

    Just to be clear, are you trying to give posts permalinks to the posts on your Homepage slider?

    If that is the case, your theme Nirvana should have options to configure hyperlinks for the posts on slider with “Read More” button. try theme options settings page to configure settings.

    thanks.

    It looks like the headlines of your posts in the blog index are hyperlinks, they’re just styled not to look like them. Normal black text, no hover effect, no underline.

    Is that what you mean?

    How would you prefer they look? Different color? Underline?

    Thread Starter jcyoga18

    (@jcyoga18)

    Hi @avee,

    Thanks for your response. I had assumed the settings for the slider posts might be controlled by the settings for the ‘blog’ posts which appear below the slider – I have discovered these are called POST EXCERPTS. I’ve checked the options settings page you refer to but it doesn’t appear to control the ’embedded’ links e.g. one of the sliders mentions two websites – FB and Twitter, but there is only one link option available to be added to any one slide from the settings page. I’ve looked through the various settings for the theme but can’t find anything related to links being made active or inactive in the post excerpts. Thanks again… jcyoga18

    Thread Starter jcyoga18

    (@jcyoga18)

    Hi @leland,

    Thanks for your response. Not quite. If you look at the latest post about PRACI you will see the content of the post has no link visible on the text “PRACI website”. However, if you select “Continue Reading” you will see that that text is an active link to the PRACI website – with rollover etc. My wish is that the ‘post excerpt’ on the home page showed the link as active as well. Thanks. jcyoga18.

    Okay, I see what you mean. Yes, the theme is using the_excerpt() function, which by default, strips out any HTML from the post content.

    You could make a child theme that uses the_content() instead, but that might be a little complicated to explain.

    Instead, you can use the Excerpt feature of WordPress. It will be a little bit of extra manual work, but it wouldn’t require any coding at all.

    First, use Screen Options to reveal the Excerpt by clicking the checkbox, then place the following in it on that one post as an example:

    John is a founding member of the Practitioner Research and Collaboration Initiative (PRACI). For more information, please see the <a href="https://praci.com.au/">PRACI website</a>.

    You’d have to repeat this for any other posts that have a link in it.

    Thread Starter jcyoga18

    (@jcyoga18)

    Thanks @leland,

    I’ve done as you suggested, however after displaying the excerpt through screen options and going to edit it, I can see that the link is already embedded, so there’s nothing more I can do there to make the link appear in the published excerpt. I can access the php/css files for editing if you are able to guide me as to where to modify the ‘the_excerpt()’ function? Thanks. jcyoga18.

    Thread Starter jcyoga18

    (@jcyoga18)

    Hi @leland,

    Oops! Seems I misunderstood your instruction and have now done as you suggested with the excerpt box and Oila! the link is now active in the excerpt. Thank you very much for this solution! If the other modification isn’t too mysterious I’d be interested for any guidance so the fix is more permanent. Thanks again. jcyoga18.

    Thread Starter jcyoga18

    (@jcyoga18)

    Hi All,

    Thanks for your assistance. I’ve also resolved the issue of links not being active in the slider texts too. Turns out you can simply put the html around the relevant link when you create the content – so the slider settings boxes in Nirvana are ‘text’ rather than a ‘visual’.

    Thanks again.

    jcyoga18

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Post links not showing’ is closed to new replies.