Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter skywalker826

    (@skywalker826)

    hi apljdi,

    Thank you very much.

    with <?php the_content(__(‘(more…)’)); ?>
    turn out to be a table data:
    <table…>


    </table>

    I’m thinking how actually from where the content data is being populated, is it being retrieved from database level ? or defined somewhere.
    I checked all the files in wp-includes/* , I couldn’t find anything that define that.

    I still puzzle…from where does the
    the_content(__('(more...)'));
    get the content data from specifically?

    cheers,
    Sky

    Thread Starter skywalker826

    (@skywalker826)

    Hi apljdi,

    thanks for reply.

    $wp_version = ‘2.8.4’;
    theme is praggio..

    if I use add_filter to add in the content, like you said, it will add something instead of modify/replace something. am i right ?
    Do I code the following way ? the output should be dynamic..

    function add_before_content($content) {
    		$content = "<table class=\"link\">";
    		$content .= "";
    		$content .= "</table>";
           return $content;
    }
    add_filter('the_content', add_before_content);

    But I suppose I should not add something before the content, instead I should amend or replace the output..

    Appreciate your kind advice…

    sky

Viewing 2 replies - 1 through 2 (of 2 total)