{"id":26946,"date":"2013-12-28T12:18:52","date_gmt":"2013-12-28T12:18:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-live-preview-links\/"},"modified":"2014-12-08T00:46:14","modified_gmt":"2014-12-08T00:46:14","slug":"wp-live-preview-links","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-live-preview-links\/","author":3803,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.6.1","stable_tag":"1.0.6.1","tested":"4.0.38","requires":"3.9","requires_php":"","requires_plugins":"","header_name":"WP Live Preview Links","header_author":"Per Soderlind","header_description":"","assets_banners_color":"ffffff","last_updated":"2014-12-08 00:46:14","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/soderlind.no\/donate\/","header_plugin_uri":"http:\/\/soderlind.no\/wp-live-preview-links\/","header_author_uri":"http:\/\/soderlind.no","rating":4.7,"author_block_rating":0,"active_installs":30,"downloads":4781,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog","other_notes"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1040164","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1040164","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"829426","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"829426","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.0.4.1","1.0.5","1.0.6","1.0.6.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"829426","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1040164","resolution":"2","location":"assets"}},"screenshots":{"1":"Live preview","2":"Admin panel"}},"plugin_section":[],"plugin_tags":[175,2475,2956,64815,18197],"plugin_category":[50],"plugin_contributors":[78884],"plugin_business_model":[],"class_list":["post-26946","plugin","type-plugin","status-closed","hentry","plugin_tags-links","plugin_tags-preview","plugin_tags-thumbnails","plugin_tags-web-images","plugin_tags-web-site","plugin_category-media","plugin_contributors-pers","plugin_committers-pers"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-live-preview-links_ffffff.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-live-preview-links\/assets\/screenshot-1.png?rev=829426","caption":"Live preview"},{"src":"https:\/\/ps.w.org\/wp-live-preview-links\/assets\/screenshot-2.png?rev=1040164","caption":"Admin panel"}],"raw_content":"<!--section=description-->\n<p>WP Live Preview Links allows you to <a href=\"http:\/\/soderlind.no\/wp-live-preview-links\/#demo\">see a live scaled preview<\/a> of the site you are linking to in a pop-up dialog style window prior to clicking on it.<\/p>\n\n<p>WP Live Preview Links does not use an external service to create these \"thumbnails\".<\/p>\n\n<p>In the admin panel you can select which links that will trigger the preview (<code>class=\"wp-live-preview\"<\/code>, internal, external or all links). You can also adjust the preview window size and position.<\/p>\n\n<!--section=installation-->\n<p>You can download and install WP Live Preview Links using the built in WordPress plugin installer. If you download WP Live Preview Links manually, make sure it is uploaded to \"\/wp-content\/plugins\/wp-live-preview-links\/\".<\/p>\n\n<p>Activate WP Live Preview Links in the \"Plugins\" admin panel using the \"Activate\" link.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>It doesn't work<\/dt>\n<dd><ol>\n<li>WP Live Preview Links needs a modern browsers that support CSS3 3D Transform properties (Chrome, Firefox, Safari, IE10+)<\/li>\n<li>Certain sites may have set their X-FRAME-OPTIONS header policy to SAMEORGIN or DENY. This is specifically to prevent other sites from iframing their site. If that is the case, this plugin will not work.<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>= 1.0.6.1=\n* Fixed bad path to admin\/RevealerCustomFieldType.php<\/p>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Added the option to use a <a href=\"http:\/\/www.w3schools.com\/jquery\/jquery_ref_selectors.asp\">jQuery Selector<\/a> to tell Live Preview Links which links to use.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Upgraded <a href=\"http:\/\/wordpress.org\/plugins\/admin-page-framework\/\">Admin Page Framework<\/a> to version 3.0.5<\/li>\n<li>Updated languages\/wp-live-preview-links.po<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Added mising file<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Upgraded <a href=\"http:\/\/wordpress.org\/plugins\/admin-page-framework\/\">Admin Page Framework<\/a> to version 3<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Minor fixes<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed a small bug<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<!--section=other_notes-->\n<h4>Adding live preview to WordPress search<\/h4>\n\n<p>Activate the plugin and in plugin settings select Live Preview Links = class=\"wp-live-preview\"<\/p>\n\n<p>This is how I've done it <a href=\"http:\/\/soderlind.no\/?s=plugin\">on my site<\/a> running TwentyTwelve.<\/p>\n\n<p>In the (child) theme folder, in functions.php, add the following<\/p>\n\n<pre><code>add_action( 'wp_enqueue_scripts', 'ps_live_preview_search_result', 11 );\n\nfunction ps_live_preview_search_result () {\n    wp_enqueue_script( 'ps_live_preview_search_result_script', get_stylesheet_directory_uri() .  '\/ps_live_preview_search_result.js', array('wp-live-preview-links'), false, true );\n}\n<\/code><\/pre>\n\n<p>Copy ps_live_preview_search_result.js to the (child) theme folder:<\/p>\n\n<pre><code>(function($) {\n    $('.search-results .entry-title a').each(function(index){\n        $(this).addClass('wp-live-preview');\n    });\n    $(window).resize();\n})(jQuery);\n<\/code><\/pre>\n\n<h4>Credits<\/h4>\n\n<ul>\n<li>WP Live Preview Links uses the <a href=\"https:\/\/github.com\/alanphoon\/jquery-live-preview\">Jquery Live Link Preview Plugin<\/a>  by <a href=\"http:\/\/www.ampedupdesigns.com\/about\">Alan Phoon<\/a><\/li>\n<li>The admin panel is done using the excellent <a href=\"http:\/\/wordpress.org\/plugins\/admin-page-framework\/\">Admin Page Framework<\/a> by <a href=\"http:\/\/michaeluno.jp\/\">Michael Uno<\/a><\/li>\n<\/ul>","raw_excerpt":"See a live scaled preview of the site you are linking to prior to clicking on it.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26946"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pers"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26946"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26946"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26946"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26946"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26946"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}