Support » Plugins » query pages and posts with shortcodes

  • Resolved infohowdy


    Hello, for query a page by id I use

    $page_id = 10;
    $paget_data = get_page( $page_id );
    echo $page_data->post_content;
    edit_post_link(), '<span class="edit-link">', '</span>', $page_id )

    This shortcodes inside the content does not works.

    I alredy try to query the page by the samples here

    query_posts( "p=10" );
    while ( have_posts() ) : the_post();

    but I get nothing.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘query pages and posts with shortcodes’ is closed to new replies.