{"id":101,"date":"2005-07-20T23:30:49","date_gmt":"2005-07-21T06:30:49","guid":{"rendered":"http:\/\/www.wiredatom.com\/blog\/?p=101"},"modified":"2005-12-23T20:46:05","modified_gmt":"2005-12-24T04:46:05","slug":"wordpress-plugins-related-posts-wp-touched-and-others","status":"publish","type":"post","link":"https:\/\/www.wiredatom.com\/blog\/2005\/07\/20\/wordpress-plugins-related-posts-wp-touched-and-others\/","title":{"rendered":"WordPress Plugins &#8212; Related Posts, WP-Touched and Others"},"content":{"rendered":"<p>Installed &#8220;<a href=\"http:\/\/www.w-a-s-a-b-i.com\/archives\/2004\/05\/26\/wordpress-related-entries-plugin\/\" target=\"_blank\"><i>Related Posts<\/i><\/a>&#8221; plugin. But the process wasn&#8217;t as easy as advertised. <\/p>\n<p>I had to:<\/p>\n<blockquote><p>1. Edited<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">\/wp-content\/themes\/_theme_of_choice_\/single.php<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>2. Manually added<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">&lt; ? php related_posts(); ? &gt;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>parameters in<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">single.php<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>I also added the cute little <img loading=\"lazy\" decoding=\"async\" src=\"\/images\/kubricklink-out.gif\" width=\"6\" height=\"7\" alt=\"Link out image\" \/> image after all the links in the content. It looks okay now. But I have a feeling they&#8217;ll get old soon.<\/p>\n<p>To get the effect, I did the following:<\/p>\n<blockquote><p>1. Edited<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">\/wp-content\/themes\/_theme_of_choice_\/style.css<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>2. Added<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/><\/div><\/td><td><div class=\"text codecolorer\">.entry a[href*=&quot;http&quot;], .commentlist a[href*=&quot;http&quot;] { <br \/>\n&nbsp; &nbsp; &nbsp;padding-right: 7px;<br \/>\n&nbsp; &nbsp; &nbsp;background: url('images\/kubricklink-out.gif') right top no-repeat; <br \/>\n&nbsp; &nbsp; &nbsp;}<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>But I noticed the above code did not apply the image to the links in the<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">single.php<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>pages. So I added<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">.entrytext a[target=&quot;_blank&quot;]<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>to the code, making it look like this:<\/p>\n<blockquote>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/><\/div><\/td><td><div class=\"text codecolorer\">.entry a[href*=&quot;http&quot;], .commentlist a[href*=&quot;http&quot;], .entrytext a[target=&quot;_blank&quot;] { <br \/>\n&nbsp; &nbsp; &nbsp;padding-right: 7px;<br \/>\n&nbsp; &nbsp; &nbsp;background: url('images\/kubricklink-out.gif') right top no-repeat; <br \/>\n&nbsp; &nbsp; &nbsp;}<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>In addition, I also implemented <a href=\"http:\/\/twilightuniverse.com\/2005\/03\/wordpress-touched\/\" target=\"_blank\">WP-Touched<\/a> plugin for inline post editing without having to go to the Admin panel. Works great! <\/p>\n<blockquote><p>Edited<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">\/wp-content\/themes\/_theme_of_choice_\/index.php<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>by adding<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">&lt;?php twTouch(); ?&gt;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p><strong>Update:<\/strong>&#8220;WP-Touched&#8221; crashes browsers sometimes. I haven&#8217;t been able to consistently replicate the problem yet. But it&#8217;s been crashing Firefox 1.0.5 and Safari 2.0 (412.2).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installed &#8220;Related Posts&#8221; plugin. But the process wasn&#8217;t as easy as advertised. I had to: 1. Edited 1\/wp-content\/themes\/_theme_of_choice_\/single.php 2. Manually added 1&lt; ? php related_posts(); ? &gt; parameters in 1single.php I also added the cute little image after all the links in the content. It looks okay now. But I have a feeling they&#8217;ll get &hellip; <a href=\"https:\/\/www.wiredatom.com\/blog\/2005\/07\/20\/wordpress-plugins-related-posts-wp-touched-and-others\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WordPress Plugins &#8212; Related Posts, WP-Touched and Others&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2,10,4],"tags":[],"class_list":["post-101","post","type-post","status-publish","format-standard","hentry","category-blogging","category-geek-stuff","category-tips-tricks"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p54IqZ-1D","_links":{"self":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":0,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}