Integrate wp-print into preview frame plugin
-
The preview frame plugin takes the article html sticking it in an iframe in the article’s post edit so you can see your post.
So… What can I put in the code below so that the print url replaces this “preview_url” and will display the print page in the iframe, without the theme, ads, and other content unrelated to the post?
$preview_url = clean_url(apply_filters('preview_page_link', add_query_arg('preview', 'true', get_permalink($post->ID))));
This capability may increase the usage of the print plugin, with people who don’t want a print function getting it for this preview application.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Integrate wp-print into preview frame plugin’ is closed to new replies.