Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Sorry that is not possible.

    Thread Starter malik mati

    (@malikmati)

    I have moved print-posts.php to theme Directory and it allows me to do some modifications but there is a problem its not showing all the content on page.

    For example if I print the_title() it will show Title on Print Page but if I use some custom code which is Displaying content like Price, Picture on my website, it don’t print this content on Print Page?

    Plugin Author Lester Chan

    (@gamerz)

    No it doesn’t. The plugin just print the standard content for a blog post. Anything else, you will have to code it yourself in the print-posts.php

    Actually, it is not call print preview. It is called printer friendly page. I thought you want to modify the print preview page which is not possible.

    Thread Starter malik mati

    (@malikmati)

    oh I am sorry, yea I mean printer friendly page not print preview.

    You mean I can display any function which is being used in my theme but I have to code it in print-posts.php ?

    Plugin Author Lester Chan

    (@gamerz)

    correct.

    Thread Starter malik mati

    (@malikmati)

    Hi

    I am using openDoor WordPress theme. In this theme we have two custom post types.

    1) Listing
    2) Agents

    While adding Listings to website we have an option to select Name of Agent from DropDown,

    Now when I try to display Agent details on print_post.php

    I use this code to Display Name of agent and it worked for me

    <p><?php echo "Agent Name:"; global $post; echo get_post_meta($post->ID, "agent_value",true); ?></p>

    But I am unable to display Phone numbers of Agent.

    Please help me what code I should use to display Phone Number ?

    Current Print Page

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Print Preview’ is closed to new replies.