deut28
Forum Replies Created
-
Forum: Plugins
In reply to: [Playbuzz] Incompability with WP 5.3 and Classic Editor PluginCan’t use copy and paste in Visual Editor mode, but it works in Text. Are you working on a fix?
Forum: Plugins
In reply to: [AuthorSure] Author bio not showing in right placeRussell, I’m using a TwentyTen child theme. I’ve recycled this theme so many times already. Its kind of strange because its fixed now but I don’t know what happened. I think it was something with the avatar attaching itself to the “ul” element in the sidebar. I didn’t see anything in your code to make it do that. I hope this helps.
Here’s the site I had difficulty with avatar placement. http://www.microscopesblog.com/author/paul-n
Forum: Plugins
In reply to: [AuthorSure] Customization of Author Archive Page@citygate, go to Settings and customize your plugin I suppose.
Forum: Plugins
In reply to: [AuthorSure] Customization of Author Archive PageJust thought I’d give an update if anyone is interested. It would be nice if showing author’s avatar on the author page was optional. When the code above is applied to WP 3.5, it didn’t work. So I came up with this:
private static function show_author_profile($user) { $id = $user->ID; if ($archive_heading = self::get_option('author_archive_heading')) $subtitle = sprintf('<p id="authorsure-posts-heading">%1$s</p>',$archive_heading); else $subtitle = ''; if ( self::is_author($user)) echo sprintf('%1$s<div id="authorsure-author-profile">%2$s %3$s %4$s</div><div class="clear"></div>%5$s', self::get_title($id), self::get_avatar($id), self::get_bio($id), self::get_profiles($user), $subtitle); }Basically, I added this to sprintf, self::get_avatar($id), and another placeholder.
Forum: Plugins
In reply to: [AuthorSure] Author bio not showing in right placeProblem solved. Had to play around with the Hook Instance in Advanced Settings. Which by the way doesn’t make any sense since I’m dealing with a child theme. Its the same as the other 3 blogs. So it didn’t occur to me to check that section.
Forum: Plugins
In reply to: [AuthorSure] Customization of Author Archive PageSo glad I put this here. I needed for another blog…lol. 😀
Forum: Plugins
In reply to: [AuthorSure] Customization of Author Archive PageOkay, somehow I needed WordPress SEO plugin by Joost de Valk in order for this line:
$gravatar = get_avatar( get_the_author_meta('ID'), 120);to actually work. I deactivated the plugin because I was trying to find out which plugin was generating “Last updated by” at the top of archive and tag pages. It was AuthorSure. So I just unchecked that option. Problem solved. Hope this helps.
Forum: Plugins
In reply to: [AuthorSure] Customization of Author Archive PageThis is what I used and it worked for a while. Not sure what happened because instead of authors gravatar, its showing default image.
private static function show_author_profile($user) { $id = $user->ID; if ($archive_heading = self::get_option('author_archive_heading')) $subtitle = sprintf('<p id="authorsure-posts-heading">%1$s</p>',$archive_heading); else $subtitle = ''; if ( self::is_author($user)) $gravatar = get_avatar( get_the_author_meta('ID'), 120); echo sprintf('%1$s<div id="authorsure-author-profile">' . $gravatar . '%2$s %3$s</div><div class="clear"></div>%4$s', self::get_title($id), self::get_bio($id), self::get_profiles($user), $subtitle); }Forum: Plugins
In reply to: [AuthorSure] Customization of Author Archive PageDoesn’t look like the author has this feature. I need to know the exact same.
Its a widget and couldn’t possibly be any easier to set up. Set up colors under ‘Settings’ and drop widget in sidebars. Input your Twitter info and boom. Its too easy to miss.
ok so i talked to my co-worker who set up the database and he explained to me the server was giving an error
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 83 bytes) in …/wp-includes/cache.php on line 506so when you do -1, which is “all”, it’s too much and the server ran out of memory.
rincewind is there a way you can cache the results, so it doesn’t use 32+MB of memory every time the request is made?
By the way, my co-worker created a .ini file to up the memory_limit = 64M
ok. thank you so much. i’m going to get this stupid plugin to work. the fact that it works for 2 other blogs and breaks on another 2 with same code, only change is in css, bothers me.
Ok I think I have identified the problem but my PHP isn’t that strong. In the Admin -> Settings panel under “Display Setting”, I turned all off except Posts -> Yes/On(Default). Then under “Post & Custom Post Type Settings”, when Limit is set to any number other than -1, some posts will show but not all. There’s something about that setting that’s screwing everything up. The work continues.
I couldn’t figure out Google XML Sitemaps. How do you call it? Shortcode?
🙁 man that sucks. i was really hoping you found something. i’m using the plugin on 2 other sites with 5 more to go and for no reason, it stopped working. out of curiosity, were you able to find another sitemap plugin? if so, can you please point me in the right direction?
crazyjamaica can you please post your solution, as i am in the same predicament. thank you.