{"id":938,"date":"2011-07-14T23:57:12","date_gmt":"2011-07-14T20:57:12","guid":{"rendered":"http:\/\/richardconsulting.ro\/blog\/?p=938"},"modified":"2011-10-09T12:28:11","modified_gmt":"2011-10-09T09:28:11","slug":"recstory","status":"publish","type":"post","link":"https:\/\/richardconsulting.ro\/blog\/2011\/07\/recstory\/","title":{"rendered":"Recommended Stories for WordPress"},"content":{"rendered":"<p>I wrote a WordPress plugin to handle in a different way the sticky posts, i.e. as recommended stories with links into a jQuery animated box.<\/p>\n<p>Installation can be done\u00a0using: <a title=\"Recommended Stories for WordPress\" href=\"http:\/\/wordpress.org\/extend\/plugins\/recstory\/\">WordPress.org plugin repository<\/a>.<\/p>\n<p>Admins can select four parameters:<\/p>\n<ol>\n<li><span class=\"Apple-style-span\" style=\"line-height: 21px;\">the *percent of vertical scroll* where the animated box appears<\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"line-height: 21px;\">the *number* of recent sticky posts to list<\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"line-height: 21px;\">if the posts have thumbnail there is an option to turn on \/ turn off the *thumbnail theme capability*<\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"line-height: 21px;\">since the sticky posts are presented this way, maybe there is no need to keep them on the front page anymore, so the third option allows to *disable the sticky property of posts in the main loops*<\/span><\/li>\n<\/ol>\n<p><strong>Other features<\/strong><\/p>\n<ol>\n<li>when displaying a post that is sticky, the corresponding link is eliminated from the animated box<\/li>\n<li>if the sticky posts list remains empty, the animated box is not displayed anymore<\/li>\n<\/ol>\n<p>== Installation ==<\/p>\n<ol>\n<li>Upload `recstory.zip` to the `\/wp-content\/plugins\/` directory<\/li>\n<li>Unzip the archive<\/li>\n<li>Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress<\/li>\n<\/ol>\n<p>== Frequently Asked Questions ==<\/p>\n<p><strong>The animated box is not animated, it just appears at all times<\/strong><br \/>\nThis is most probable a jQuery conflict with the theme or with another plugin. Try to switch to the default theme and \/ or disable other plugins.<\/p>\n<p>== Changelog ==<br \/>\n= 0.1.3 =<br \/>\nAdded admin options to display only on single pages, search pages, archives, category pages, tag pages, front page, author pages<br \/>\nAdded admin options to display only for logged in users<\/p>\n<p>= 0.1.2 =<br \/>\nAdded metabox to remove recommended stories from specific posts, pages or custom posts id&#8217;s<br \/>\nFixed some minor bugs that triggered javascript errors in certain conditions<\/p>\n<p>= 0.1.1 =<br \/>\nAdded option to modify the percent of vertical scroll where the animated box appears<\/p>\n<p>= 0.1 =<br \/>\nIncipient version<\/p>\n<p style=\"text-align: center;\"><span class=\"Apple-style-span\" style=\"line-height: 17px;\"><a href=\"http:\/\/richardconsulting.ro\/blog\/wp-content\/uploads\/2011\/07\/screenshot-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-945 aligncenter\" title=\"screenshot-1\" src=\"http:\/\/richardconsulting.ro\/blog\/wp-content\/uploads\/2011\/07\/screenshot-1-420x264.jpg\" alt=\"\" width=\"420\" height=\"264\" srcset=\"https:\/\/richardconsulting.ro\/blog\/wp-content\/uploads\/2011\/07\/screenshot-1-420x264.jpg 420w, https:\/\/richardconsulting.ro\/blog\/wp-content\/uploads\/2011\/07\/screenshot-1-150x94.jpg 150w, https:\/\/richardconsulting.ro\/blog\/wp-content\/uploads\/2011\/07\/screenshot-1.jpg 906w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wrote a WordPress plugin to handle in a different way the sticky posts, i.e. as recommended stories with links into a jQuery animated box. Installation can be done\u00a0using: WordPress.org plugin repository. Admins can select four parameters: the *percent of vertical scroll* where the animated box appears the *number* of recent sticky posts to list [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":945,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[115],"class_list":["post-938","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-2","tag-plugin"],"_links":{"self":[{"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/posts\/938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/comments?post=938"}],"version-history":[{"count":1,"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/posts\/938\/revisions"}],"predecessor-version":[{"id":989,"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/posts\/938\/revisions\/989"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/media\/945"}],"wp:attachment":[{"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/media?parent=938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/categories?post=938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/richardconsulting.ro\/blog\/wp-json\/wp\/v2\/tags?post=938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}