nadine00
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Maintenance Mode] not working?That did it. Sorry, guess I should sleep more. ?? Thank you!
Forum: Plugins
In reply to: pulling posts alphabetically with headersfound it!
over here: https://www.ads-software.com/support/topic/248010?replies=22Just in case anyone comes back to this thread.
Forum: Plugins
In reply to: pulling posts alphabetically with headersbump.
Sorry to have to bother the forum again, but I find myself in a scenario where I need to sort this, and make the headers, by a custom field rather by post_title (client request).
This seems to work fine for sorting:
$last_char = ''; $args=array( 'category__in' => array(3,7,45,2), 'orderby' => 'guest_sort', 'order' => 'ASC', 'posts_per_page'=>-1, 'caller_get_posts'=>1 );
But I’m not sure how to figure out getting the headers to use the custom field as well.
I tried this:
$post->guest_sort
but that was wrong.
Then I tried pulling the custom filed value into a variable with get_post_meta but I’m probably doing it wrong:
$guestSort = get_post_custom_values('guest_sort'); $this_char = strtoupper(substr($guestSort,0,1));
but that didn’t work. I also tried stringing together a meta_value&meta_key=guest_sort string, but that didn’t work.
$this_char = strtoupper(substr($post->meta_value&meta_key=guest_sort,0,1));`
Suggestions?
Thank you.
Nadine.
Forum: Fixing WordPress
In reply to: permalink issue and BitNamiEdit: Found it!
Hmm. I should be more specific. Where are the options and settings for the templates for the custom field template stored? My fields seem to be working in the DB, ie: they are pulling fine…but the templates I had set up for this plugin are missing.
Thanks!
Nadine.
could you share where you found the options? I am currently trying to find mine.
Thanks!
Forum: Plugins
In reply to: pulling posts alphabetically with headersWow thank you Michael. If I wanted to do this with posts from just one category, rather than all of them, would it be something like this:
$args=array( 'orderby' => 'title', 'order' => 'ASC', 'posts_per_page'=>-1, 'caller_get_posts'=>1 'in_category'=>3 );
or like this:
$last_char = ''; $cat = 3; $args=array( 'orderby' => 'title', 'order' => 'ASC', 'posts_per_page'=>-1, 'caller_get_posts'=>1 'in_category'=>$cat );
or maybe its something totally different.
Again, thanks for the query from before. Really appreciate it.
cheers
Nadine.
Forum: Plugins
In reply to: pulling posts alphabetically with headershmm. That really isn’t what I need, I need something I can just put raw into a template page. so, not an archive of post titles that you can individually link too, but a page of all the actual posts.
Is there a way to maybe do this without a plugin? Maybe multiple calls on a page?
Something that would fit in a set up kind of like this:
‘numberposts=999&orderby=title&order=ASC’
like a limiter, or range.
Sorry, if i’m not seeing an obvious thing here. But thanks for your suggestions! ??
Forum: Plugins
In reply to: Showing Custom Fields in the Admin*bump*
Anyone? I’ve been trying to understand this too: https://wefunction.com/2008/10/tutorial-creating-custom-write-panels-in-wordpress/
But its way over my head.
Forum: Fixing WordPress
In reply to: how to shut off comments in just one categoryThanks for the suggestions, and responses. I’m still trying to figure out some of the Hierarchy things in WP. ??
esmi, that ‘if not in’ statement did the trick nicely!
Forum: Fixing WordPress
In reply to: pulling an archive list by category nameThanks! That worked.
One last thing though, how would I work a limit into that?