ElasticMind
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Chronological Posts with PHP & Not a PluginThe “Chronological Posts” plugin author has provided me with a solution to fix the RSS feed issue and so I’ve marked this discussion as resolved. Thanks again for your time and help, Steve.
Forum: Plugins
In reply to: [Chronological Posts] RSS Feed Not Updating When Plugin is ActivatedThank you, Nick!! For your help and your kind words.
I’ve adjusted the number to a larger one to display and I’ll see if it resolves the issue. A new installment/post will be released/published tomorrow and I’m hoping by the mailchimp RSS-driven email will trigger. It seems to make sense that it would. I’ll be in touch if the issue continues.
Thanks again!
Tara
Forum: Fixing WordPress
In reply to: Chronological Posts with PHP & Not a PluginThanks again for your help, Steve. I’m going to pause on this until tomorrow as the “Chronological Posts” plugin author has provided me with a solution to fix the RSS feed issue that I’m hoping will work and I won’t need to fiddle with this code. I’ll be in touch tomorrow and if all works I’ll mark this discussion as resolved. Thanks again for your support so far.
Forum: Fixing WordPress
In reply to: Chronological Posts with PHP & Not a PluginThank you so much, Steve. I’m sorry to take up more of your time but I’ve tested this code and I’m still not getting the results I’m looking for… this code is placed in my child theme’s function.php file:
/*===================================================================*/
/* 4. CHRONOLOGICAL ORDER
/*===================================================================*/
add_action( ‘pre_get_posts’, ‘reverse_post_order’ );
function reverse_post_order( $query ) {
if ( is_main_query() && is_front_page() && is_home() ) {
$query->set( ‘order’, ‘ASC’);
}
}I don’t need the archive to be in chronological order, so I removed that condition and added that I need the homepage/blog page in chronological order. Using that code, it’s still in descending order. Any idea why it’s not working?
Forum: Fixing WordPress
In reply to: Chronological Posts with PHP & Not a PluginThanks for getting back to me, Steve. I’m not exactly clear on what I need to do… would you be able to be more specific about the PHP code needed?
Forum: Fixing WordPress
In reply to: Chronological Posts with PHP & Not a PluginSorry Steve, I should have been more clear. I need them to be ascending order.