Wordpress theme, custm post
I create a custom post with this code, also a read more button. this post showing successfully on welcome template. But when i click on read more button, then showing nothing found!!. Can anybody help me to solve this problem?
the code is here
please use below code:
<?php the_excerpt(); ?>
<h1>Regional Race Calendar</h1>
$args = array( 'numberposts' => 3, 'order'=> 'DESC', 'orderby' => 'post_date', 'category' => 4 );
$postslist = get_posts( $args );
foreach ($postslist as $post) : setup_postdata($post);
<strong><a style="text-decoration:none;" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title() ?></a></strong><br />
<?php endforeach; ?>
Using a starter theme vs starter theme with child theme
I have been using quark a lot which is a starter theme. I have been using a child theme with quark for a few reasons: As I have become more in tune with the theme and wordpress, I am trying to reduce the load and resources to ensure speed and efficiency. I am now debating the use of a child theme - Mainly because I know a child theme already adds a...
Custom Theme: The active theme is broken. Reverting to the default theme
I'm making my own theme and I just got this message while trying to activate my theme: "The active theme is broken. Reverting to the default theme." Live preview works, but when I select this theme it reverts back to a new theme. I have index.php and my style.css files set up as I was using this theme fine before. I've disabled all plugins and even...