greencode
Forum Replies Created
-
Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Auto update results?@rafahell – I created a custom javascript i.e. custom.js and then added that code in that file. Any problems head over to my site at daretothink.co.uk and send me a message.
Forum: Plugins
In reply to: [Twitter Widget Pro] Removing authenticated Twitter accountNice work Aaron. Thanks for the update.
Let’s hope that this get’s resolved pretty quickly as I really need to update my versions of WPML and WP but am now slightly reluctant in doing so until this is resolved as the site relies on this working.
@piet: I’m using 3.5.1, Ambrosite 2.4 and WPML 2.7.1 so obviously these are not the latest versions but have you tried using @maxatomik’s code as that seems to work for me.
Forum: Fixing WordPress
In reply to: wp_get_object_terms comma separatedThanks so much for this. That works perfectly 🙂
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Hide Image Title on hover?Thanks but that doesn’t work. It’s the image title tooltip that appears on hover.
Forum: Fixing WordPress
In reply to: wp_get_attachment_image size and class issueThanks so much for this. Works perfectly!
Forum: Fixing WordPress
In reply to: wp_get_attachment_image size and class issueStill struggling with this one. Does anyone have any ideas?
Forum: Fixing WordPress
In reply to: Query posts with custom field valueHi, the code above is in a page template. In the customs field would be a series of post ids such as “112,243,34”
Forum: Plugins
In reply to: [Twitter Widget Pro] Removing authenticated Twitter account@jeff – Umm, I’m not actually sure now. I just tried replicating what I did last time but it didn’t work!
The only way I find of doing it is by deleting all authorised users and then add the one you want back in again. To do that search for “twp-authed-users” in your database (in the wp_options) table and delete the contents of that cell. It’ll start something like
“a:1:{s:13:”yourtwitterusername”;a:4:{s:11:”oauth_token”;s:50:”
Once you’ve deleted that content then the authorised twitter users will be blank again and you can just add it back.
Forum: Plugins
In reply to: [User Role Editor] List users with certain role in templateThanks for this but not sure how I would then list those users in my template?
Forum: Fixing WordPress
In reply to: Pagination on homepage query not workingThanks for this. All I needed to do was to change this
'paged' => get_query_var('paged')));to this
'paged' => get_query_var('page')));in the above query.
Forum: Plugins
In reply to: [WP-PageNavi] wp-pagenavi in custom queryOkay, managed to get it to appear at the bottom but is there any way to get it to appear at the top of a custom query as well?
<?php $my_query = new WP_Query(array( 'cat' => '1', 'posts_per_page' => 5, 'paged' => get_query_var('paged'))); while ( $my_query->have_posts() ) : $my_query->the_post();?> <h2><?php the_title(); ?></h2> <?php endwhile; wp_pagenavi( array( 'query' => $my_query ) ); ?>Forum: Plugins
In reply to: [Ambrosite Next/Previous Post Link Plus] in same catYou just add the code you have above into your post’s template file i.e. single.php. Wherever you’d like it to appear.
I think you’re trying to do the same thing as me. I have (as an example)…
Vehicles
– Cars
– – Hatchback
– – SportsAnd so when I use the Previous/Next button I only want it to go through the same posts within the child category. At the moment it’s going through all posts in the main “Vehicles” category.