meevil
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Archive Loop displaying everythingFirst solution worked perfectly, thankyou very much!
Thanks for also linking me to the pre_get_posts function. Looks interesting!
Forum: Themes and Templates
In reply to: Archive Loop displaying everythingThanks for replying!
I’m developing using the Underscores theme by Automattic – https://underscores.me/
I’ve changed the original code to support my additional post type.
This was the original archive loop –
<?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?>
Could it simply be because I’m resetting the WordPress Query before the loop is being run?
Forum: Themes and Templates
In reply to: Link to an archive page that displays all postsI’m making my own, based on the _S theme by automattic.
The posts aren’t in a specific category just yet. What I ideally need is a system that will always take users to an archive-esque page that just displays everything they’ve published as a “default” post, without having to make a new page template to my specification when they initially install the theme.
Sorry if this isn’t possible, as I say the client was adamant about this “feature”, and I’m just completely stumped. It’s not something I’ve ever had to think about when developing a theme before.
Forum: Themes and Templates
In reply to: Link to an archive page that displays all postsThankyou! The post type archive function is precisely what I’m after, but it only seems to work for custom post types. Is there a value to get an archive for default posts?
Something like:
get_post_type_archive_link('post');
I’m not entirely sure if this is even possible!
Forum: Themes and Templates
In reply to: Link to an archive page that displays all postsI need to be able to link to these “archive” pages from within my home page loop. Is that possible?
Forum: Themes and Templates
In reply to: Link to an archive page that displays all postsThe first one (news) is just the standard wordpress post type. The second one is a custom post type, yea.
How would I go about directly linking to these pages? Thanks for the quick response!
Forum: Plugins
In reply to: [Event Organiser] Event page doesn't show venue informationThanks so much everyone!
Forum: Plugins
In reply to: Looking for a forum solution. Any advice?I think BBPress is just plug’n’play, but to get the best out of it you really need to mod the template files.
Anyone got any suggestions about how to implement PHPBB?
Forum: Plugins
In reply to: Custom fieldsSorry, but thanks!
Forum: Plugins
In reply to: Custom fieldsSorry for this guys, I’m desperate to find out the answer!
Better than posting a new topic though, right?