Clean, nice, lightweight and intuitive plugin. I ran into an issue with Custom Archive Page meta description. The archive page doesn’t show the meta description that I put into the plugin’s meta description field. Furthermore, once I changed the snippet it shows the code, not the result.
Thank you in advance.
]]>I am creating a site using the neve theme. I have used CPT UI and Advanced Custom Fields to create a custom post type (equipment). I would like to be able to create a custom archive page for this such as “archive-equipment.php”.
I created a copy of the “archive-post.php” page found in the “wp-content/themes/neve/views” directory and named it “archive-equipment.php”.
I left it in the same directory.
When I make edits to “archive-equipment.php”, nothing happens to the archive page (mysite/equipment) for equipment. However, if I make changes to “archive-post.php”, the changes are seen on the archive page for equipment.
Does anyone know how I can get “archive-equipment.php” to control the equipment archive section on my website?
]]>Can someone please help me how to add an archive page on my hueman themed blog?
Thanks a lot
]]>To be clear, and to give a generic example: let’s say I had a CPT called “photos.” And I had 6 WP Users (e.g. user1, user2 etc.). Is there a way to show user1’s CPT (not posts) on an archive page?
If anyone has done this before, or can point me in the right direction, It would be most appreciated.
Thanks in advance!
]]>I’m seeking some insight and advice on a site I’m building, a shirt store. I’ve been successful in creating Custom Post Types and a custom archive page (doubling as the home page) to show each shirt (post).
(I should note that I’m more of a designer, and have little experience in PHP. More of a CSS guy, unfortunately in this case.) Despite several web tuts I’ve found and tried to implement, I can’t figure out how to:
– Add an image or thumbnail to the archive post display;
– Customize how the posts display on the archive page.
I know I need to work around the theme (I’m using Themify Basic though I don’t need to). I would truly appreciate some clear insight and advice on this. Thanks so much, in advance.
]]>Unfortunately I can only figure out how to make a category page that list the stories instead of list them with the image. to look like this.
https://thesinglegirlsguidetomen.com/category/book-club
What code do I need to use to call the thumbnail and the loop that calls the archive posts. and how do I control how many posts show?
]]>Month
(date) Blog post
Basically it would have all my posts organized by month on the page. Since upgrading though I’ve noticed it no longer is showing anything, the only post it shows is the most recent one I’ve written.
Im no php expert by any means so was hoping someone could help me and explain why this would all of a sudden stop displaying all my archives, all my blog posts are still there and all other plugins Im using with them (recent posts, related posts, tag cloud etc) all seem to work.
This is the code I have been using….
<?php
// Declare some helper vars
$previous_year = $year = 0;
$previous_month = $month = 0;
$ul_open = false;
// Get the posts
$myposts = get_posts('numberposts=0&orderby=post_date&order=DESC');
?>
<?php foreach($myposts as $post) : ?>
<?php
// Setup the post variables
setup_postdata($post);
$year = mysql2date('Y', $post->post_date);
$month = mysql2date('n', $post->post_date);
$day = mysql2date('j', $post->post_date);
?>
<?php if($year != $previous_year || $month != $previous_month) : ?>
<?php if($ul_open == true) : ?>
</ul>
<?php endif; ?>
<h3><?php the_time('F Y'); ?></h3>
<ul class="month_archive">
<?php $ul_open = true; ?>
<?php endif; ?>
<?php $previous_year = $year; $previous_month = $month; ?>
<li><span class="the_day"><?php the_time('F d'); ?> : </span> <span class="the_article"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></span></li>
<?php endforeach; ?>
]]>I’m having an issue with pagination on a custom Page template. using posts_nav_link
produces previous and next links on the page, but they don’t actually lead anywhere: they go to thesite.com/index.php/page/x instead of thesite.com/index.php/pagename/page/x.
The links they’re producing always lead to a 404, obviously.
I’m using the method for pagination and query_posts
found at this thread, but and I’m not sure where I’m going wrong.
Here’s the pastebin of my template file, and a link to the actual working site.
Please help me figure out what’s wrong here that’s keeping my pagination nav links from working properly. This functionality is being used in several places on the site.
It should be noted that pagination does work. If I manually type the proper paginated address, it works perfectly; it’s just the previous/next links that don’t.
Thanks everybody!
]]>