Richard Sweeney
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy PayPal Custom Fields] [Plugin: Easy PayPal Custom Fields] brokenOh hang on, I re-read your message.
Actually, this is in fact the correct behaviour (currently) for the plugin. The text and/or theme of the button can be customised for every post or page where it’s used. When you save a post or page, the code to produce that particular button is saved with the page, including any default settings.
There’s currently no way of knowing which buttons have the default settings or which are ‘custom’. That means that if you change the default settings it won’t change the buttons you’re already created as they’ve already been saved with the values of the defaults you used when you saved the post!
I hope this is a clear enough explanation! Basically, when I see it like this I think it’s probably not the best behaviour and I can totally understand why it seems like a bug. I probably is really!!
I’ll mark this as an important feature for the next upgrade. Thanks for the feedback, I don’t think I would have thought of this situation otherwise ??
Have a nice weekend ~?Richard
Forum: Plugins
In reply to: [Easy PayPal Custom Fields] [Plugin: Easy PayPal Custom Fields] brokenHi Marius84,
Apologies that I’m slow to check message that get posted here. I’ll take a look at the plugin this weekend and see if I can’t find out what the problem is. Thanks for your patience!
Richard
Hi – didn’t spot this post, you may well have got it sorted since you posted it.
I don’t know either CCTM or OptionsTree I’m afraid. I reckon it’s an incompatibility issue. You might try a different custom post type plugin, or a different PayPal plugin of course!
Sorry I can’t be of more help. R
Forum: Fixing WordPress
In reply to: Sort (custom) posts by last word in titleWhat a fool I’ve been! Was a mere slip of the wrist…
Instead of
meta-value
it should of course readmeta_value
then all will be right with the universe once again.Mmm. Awesome. Now I’ve sorted my custom post-types by custom taxonomy and custom-fields! That’s a lot of customization! I heart WP 3.
Forum: Fixing WordPress
In reply to: Sort (custom) posts by last word in titleHmm, I’ve tried using a custom-field to add the surname of the artist but I still can’t seem to get my artists in order! Here’s the code I’m using
<ul> <?php $yell = new WP_Query(array('meta_key' => 'surname', 'post_type' => 'singer', 'voice' => 'soprano-voice', 'showposts' => '-1' , 'orderby' => 'meta-value', 'order' => 'asc' )); while ($yell->have_posts()) : $yell->the_post(); ?> <li> <a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a> </li> <?php endwhile; ?> </ul>
I’ve also tried using
'orderby' => 'title'
just for the hell of it! No joy…Help!
Forum: Plugins
In reply to: [Plugin: Contact Form 7] HTML5 input typesYes please! Makes life easier for working with iOS devices!!
Forum: Fixing WordPress
In reply to: List authors is listing admin multiple timesI’m sorry to post here, but I can’t think of anywhere better!
The code at https://wordpress.pastebin.ca/1656804 works great – but what I’d like to do is to actually list the posts of each author, not just the number of posts.
Also – is there a way to exclude the admins from the query, or to specify a user ID to omit?
Thanks!
Forum: Alpha/Beta/RC
In reply to: custom posts type with custom taxonomy wp_query@c3mdigital / @annointed – do you reckon a solution is possible to query custom posts in multiple custom taxonomies for those of us lacking php skills?!
Forum: Alpha/Beta/RC
In reply to: custom posts type with custom taxonomy wp_query@kiraa – good question, I was also wondering about that one.
I also tried to use ID’s instead of names and multiple ‘recording’ categories to filter the query results even more, but no luck. It seems we need an equivalent to
cat=2,3
or even better – an equivalent to
query_posts(array('category__in' => array(2,6)));
Would be great if one could use
'recordings__in => array(2,3)
All out of ideas…
Forum: Alpha/Beta/RC
In reply to: custom posts type with custom taxonomy wp_queryJust to clarify to anyone else who might be having the same problem. The only code I really needed is the following:
<?php query_posts( array( 'post_type' => 'discography', 'recordings' => 'live' ) ); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <h3><?php the_title(); ?></h3> <?php the_content(); ?> <?php endwhile; endif; wp_reset_query(); ?>
Forum: Alpha/Beta/RC
In reply to: custom posts type with custom taxonomy wp_queryThanks @c3mdigital, this returned only the name of the category, but I realized that the ‘post_type’ wasn’t mentioned at all in the query.
I solved it with a guess!
Just added the following to the query_posts array
'post_type' => 'discography'
so the whole query reads:
<?php query_posts( array( ‘post_type’ => ‘discography’, ‘recordings’ => ‘live’ ) ); ?>
Thanks so much for your help @c3mdigital and @michaelh – have a nice weekend ??
Forum: Alpha/Beta/RC
In reply to: custom posts type with custom taxonomy wp_queryWow, that’s awesome ?? Thank you @michaelh!
Might I ask how one could perform a WP_Query to only display the custom posts from one custom taxonomy?
Say in my recordings taxonomy I made 2 categories: ‘live’ and ‘studio’ and wanted to display all the discography entries in category ‘live’. How could I manage this?
I’m sorry I lack the skills to figure it out myself and am very grateful for your help!
Forum: Fixing WordPress
In reply to: Custom posts type with custom taxonomy wp_queryNot sure if it’s relevant, but when I view the entires in the custom post type (in the back-end) the categories are not displayed like they are for regular posts…
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Blog URL changed, plugin no longer worksWoah, you really saved me a major headache! Cheers Dave!!
Forum: Requests and Feedback
In reply to: Why are images linked by default?Nice one Zeo, thanks.