jrwells42
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can we import Posts from Rss feeds to WordPressI do it using WP Robot (https://wprobot.net/), it’s like $50 with the RSS Feed module I think. It works really well. I couldn’t find any free plugins that would do it.
Forum: Fixing WordPress
In reply to: Adding name and avatar into post & atom feedErrr, nevermind, the above code does work perfectly.
Forum: Fixing WordPress
In reply to: Adding name and avatar into post & atom feedOk… getting there. This puts the stuff at the bottom, and it copies over to the other 16 sites, however it then displays “admin” as the author and his bio/avatar.
function get_author_bio ($content=''){ global $post; $post_author_name=get_the_author_meta("display_name"); $post_author_description=get_the_author_meta("description"); $html="<div class='clearfix' id='about_author'>\n"; $html.="<img width='80' height='80' class='avatar' src='https://www.gravatar.com/avatar.php?gravatar_id=".md5(get_the_author_email()). "&default=".urlencode($GLOBALS['defaultgravatar'])."&size=80&r=PG' alt='PG'/>\n"; $html.="<div class='author_text'>\n"; $html.="<h4>Author: <span>".$post_author_name."</span></h4>\n"; $html.= $post_author_description."\n"; $html.="</div>\n"; $html.="<div class='clear'></div>\n"; $content .= $html; return $content; } add_filter('the_content', 'get_author_bio');
Source: https://www.wprecipes.com/wordpress-hack-automatically-insert-author-bio-on-each-post
Is there a way I can get this to keep the original author? Somehow have it transmit as text and not as php functions?
Forum: Themes and Templates
In reply to: WordPress page defaulting to wrong templateIs it happening on several computers, or just one? I’ve got this going on with one computer, but every other computer I try it on (even on the same site) it doesn’t do it. Try clearing cache/history and make sure IE is up to date.
Forum: Fixing WordPress
In reply to: All pages showing up as HTTPSWould this be a problem with the way it was installed (was set then as HTTPS instead of HTTP), or is there a setting somewhere that can be changed to fix this?
Is there a way to parse the RSS you get using an
include
function?Anyone else have some ideas on this?