Links on home page

Support Area Forums Foundation Links on home page

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question:
  • Author
    Posts
  • #4881
    Jeff Mackler
    Participant

    In some of my posts, I have links in the first sentence or two. On the post page, they work correctly – linking off to another site. However, when the first few lines are fed in as an abstract on the home page, the links are inactive. I assume the html is getting stripped out, but can this be adjusted?

    #4886
    Bill Robbins
    Moderator

    Jeff,

    You’re absolutely right. It does indeed stip out the links and other HTML from the content. There’s an edit you can try and see if it will work for you. I gave it a quick try on my local computer and it seems to work. Here’s what to do:

    1) Go to the appearance section and select edit to open up the theme editor.
    2) From the list of files on your right, choose functions.php and look for this spot:


    $content = strip_tags($content);

    3) Delete that line and save your changes.

    See if that doesn’t leave your links intact. If you need anything else, just let me know.

    #4894
    Jeff Mackler
    Participant

    Worked like a charm. Thanks for the great support!

    #4896
    Bill Robbins
    Moderator

    Glad to hear it! Let me know if you need anything else.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Links on home page’ is closed to new replies.