Support » Fixing WordPress » Where to access the_content()

  • i am trying to find out the variable name used in the_content(), due to which image is displayed in the post.

    I need to know what varible in the the_content() was responsible for storing the image link (<img src” “> tag) which then gets displayed in our post.

    for reference purpose following output is shown.
    As seen from browser The ouput of the_content() is as under–

    <div class="entry-content-single">
    			<div class="singleads">
    			<h3><a href="" rel="nofollow">Nike Zoom Team Edition Skate Shoes Blue Mens</a></h3>
    <p><a href="" rel="nofollow"><img style="float:left;margin: 0 20px 10px 0;"
    <strong>src="" </strong>
    alt="Nike Zoom Team Edition Skate Shoes Blue Mens" /></a></p>
    <li>This shoes / sandals / boots style name or model number is Zoom Team Edition</li>
    <li>Color: Atlantic Blue/Tangier Orange</li>
    <li>Material: Nubuck Upper and Rubber Outsole</li>
    <li>Measurements: 1″ heel</li>
    <li>Width: D</li>
    <p>The Nike Zoom Team Edition shoes feature a nubuck upper with a round toe. The rubber outsole lends lasting traction and wear.</p>
    <p><div style="float:right;"><a href="" rel="nofollow"><img src="" /></a></div>
    <p>List Price: $  70.00</p>
    <p><strong>Price: $  70.00</strong></p>

Viewing 1 replies (of 1 total)
  • You can find the source code here: Link

    I believe what you are looking for may not be in the_content() function, you should look in your template file.

    This line of code is incorrect, I believe the issues is in the template file and not the the_content() function. Check the loop for any thumbnail functions. Thumbnail functions have to do with images. If the code below is being generated from the_content() function, then check your page/post content. I believe your html markup is incorrect.

    <strong>src="" </strong>
Viewing 1 replies (of 1 total)
  • The topic ‘Where to access the_content()’ is closed to new replies.