the_content distress call (2 posts)

  1. vlad__k
    Posted 6 years ago #

    Hi everyone,
    I am designing a theme where posts are desplayed on the front page, some posts have preview picture in them. What I am trying to achieve is for that preview picture link to point to the single posts page, and not anything else, right now it can be set to point to itself when uploading. I figure I can come from 2 ends about solving this problem, one- modify output of the_content(), two- disable extra options when uploading, which is even better. If anyone has a solution for any of this 2 it will be much appreciated, as I've been buttling with this problem for a week now.

  2. vlad__k
    Posted 6 years ago #

    Not much help at this forum, useless ha?
    Anyhow I solved it myself- get_the_content() outputs a string containing all the same staff as the_content(), just use php string operations to alter it the way you need it, stupid WordPress forcing people to use such dirty technics to achive something so simple.

Topic Closed

This topic has been closed to new replies.

About this Topic