timboreader
Forum Replies Created
-
Forum: Plugins
In reply to: [Latest Tweets Widget] Got error when trying to authenticateAuthor’s reply to a previous posting points in the right direction: https://ww.wp.xz.cn/support/topic/plugin-not-yet-authenticated-with-twitter?replies=5
Forum: Plugins
In reply to: [Latest Tweets Widget] Got error when trying to authenticateI get this same error, as do a few other posters. Is the author able to shed any light on this?
Forum: Plugins
In reply to: [Developer's Custom Fields] Meta query with arraysJust checking, the donate link from the plugin page goes to a site called Corporate Watch – is that where you want donations to go?
TForum: Plugins
In reply to: [Developer's Custom Fields] Meta query with arraysThanks Steve, I’m pretty sure you understand the question 100%. Both ways seem to work but yours seems that much closer to error-proof so am going to go with that.
More I work with it, more I think this is one of the best plugins out there.
Donation coming your way shortly.
Thanks
TimForum: Plugins
In reply to: [Developer's Custom Fields] Meta query with arraysI should add: I think it works with “LIKE”. Perhaps that’s the solution but was wondering whether “IN” is more correct and whether it should be working with that.
If not, and ‘like’ is fine, then fine! 🙂Forum: Plugins
In reply to: [User Taxonomy & Directory] Templates pages for displaying users/authorsThanks Umesh, your clue about the template path worked.
Anyone else reading this: just keep in mind that if you use the code above, the constant WP_UT_TEMPLATES needs to be set previously. Or otherwise you can just use $taxonomy_template = get_template_directory() . ‘/name-of-template.php’ in place of that line.
TimForum: Plugins
In reply to: [User Taxonomy & Directory] Templates pages for displaying users/authorsThanks again. I must be missing a step because it’s still not working.
Is your expectation that once I’ve added that function and created the template file in the theme, the taxonomy page (e.g. http://www.mysite.com/author/wp_user_projects/october-weekend/ should start using that file?
Because what’s currently happening is it’s using some generated archive page (but not archive.php because editing that is having no effect).
So to run you through the steps I’ve taken:
(1) I’ve created that function in functions.php – the one you supplied in the first example called get_custom_taxonomy_template() but now also with the remove_filter and add_filter lines
(2) I’ve created a file in the theme (both the child and parent theme – I know it won’t need both, but just to cover all bases for now) called user-taxonomy-template.phpWhat have I missed out?
Forum: Plugins
In reply to: [User Taxonomy & Directory] Templates pages for displaying users/authorsThanks for that Umesh.
I’ve added that code to the theme’s functions.php but I now get an error:Fatal error: Cannot redeclare get_custom_taxonomy_template() (previously declared in /Users/Sites/wordpress-everyman/wp-content/plugins/user-tags/lib/functions.php:27)
Do I instead need to add it directly to a plugin file? Or somewhere else entirely?
Thanks
Tim
Forum: Plugins
In reply to: [Developer's Custom Fields] Retrieving key names and key/value pairsHi Steve,
Many thanks indeed for that info – I managed to achieve what I was aiming for, albeit not necessarily in the same elegant way I’d first envisaged!
When the page is live I’ll write a blog post about what I did, as I do believe others may try to do achieve something similar.
I’ve set the topic to ‘resolved’.
Thanks again
TimForum: Fixing WordPress
In reply to: Finding out post ID of NOT current pageThanks MichaelH, that’s just what I was after.
Tim