Changeset 154137
- Timestamp:
- 09/12/2009 07:43:28 PM (16 years ago)
- File:
-
- 1 edited
-
rss-related-posts/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rss-related-posts/trunk/readme.txt
r154116 r154137 28 28 This plugin needs a dedicated space on your blog, to rule. Here are some methods of showing the RSS list of Related Posts: 29 29 30 A: Acces "Theme editor" (Dashboard->Appearance->Editor) and select to edit "Single post" that is single.php file from your wordpress theme. Search in cod <?php the_content();?> and replace it by : 31 <?php 32 the_content(); 33 echo '<h2>Other articles about the same subject</h2>'; 34 rss_related_posts(10); 35 ?> 36 37 B: Acces "Theme editor" (Dashboard->Appearance->Editor) and select to edit "Single post" that is single.php file from your wordpress theme. Search in code <?php the_content();?> , add after it : 38 39 <?php 40 echo '<h2>Other articles about the same subject</h2>'; 41 rss_related_posts(10); 42 ?> 43 44 C: Acces "Theme editor" (Dashboard->Appearance->Editor) and select to edit "Single post" that is single.php file from your wordpress theme. Search in code <?php the_content();?> , add after it : 45 46 <?php 47 echo '<div id="rss-related-posts">'; 48 echo '<h2>Other articles about the same subject</h2>'; 49 rss_related_posts(10); 50 echo '</div>'; 51 ?> 52 53 Then edit style.css and add the <div id="rss-related-posts"> statements, that are: 54 55 #rss-related-posts { width: 90%; padding: 10px; margin: 15px auto} 56 #rss-related-posts { border:none; background:transparent none repeat scroll 0 0} 57 #rss-related-posts ul {border: none; margin-bottom: 5px;} 58 #rss-related-posts ul li {padding: 5px 0px; border: none} 59 60 Or be cretive and use next to the basic function of showing the plugin , that is <?php rss_related_posts(10); ?> anything in anyway you wish. Please , just let me know, I'm curious what you can do with this plugin. 30 Be cretive and use next to the basic function of showing the plugin , that is <?php rss_related_posts(10); ?> anything in anyway you wish. Please , just let me know, I'm curious what you can do with this plugin. 61 31 62 32 The 10 from the code expresses the number of links from the list. You can change it with any number you want from 1 to 20 (the maximum value accepted for links in RSS mode is 20, but if there are activated settings, there will be shown maximum 10)
Note: See TracChangeset
for help on using the changeset viewer.