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?

Thanks.

the code is here

Solutions

please use below code:

<?php the_excerpt(); ?>

thanks.

Try this:

<div class="right_pnl_data">
                  <h1>Regional Race Calendar</h1>
                    <?php
                    $args = array( 'numberposts' => 3, 'order'=> 'DESC', 'orderby' => 'post_date', 'category' => 4 );
                    $postslist = get_posts( $args );
                    foreach ($postslist as $post) :  setup_postdata($post);
                    $a= get_the_date();
                    ?> 
                      <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; ?>
                </div>

Similar questions

Can't Install Child Theme "The parent theme is missing. Please install the "Default" parent theme."
This is my first time installing a child theme and I ran into some errors Here' the style.css Here's the error: The parent theme is missing. Please install the "Default" parent theme. I've already tried several names for the "Template" but don't know which one should be there as my theme only uses the default template. Any help would be appreciated...
Jetpack Mobile Theme: when on smartphone on categories the theme suddenly changes to jetpack mobile theme even though it's deactivated
I'm having a little problem with my mobile theme. I'm using a Momentous Lite child theme for my website. On my Smartphone the home page looks as it's supposed to do but as soon as I switch to a category, the theme changes into jetpack's mobile theme even though I deactivated that... Does anyone know why? My website: http://www.inflamedpassion.com e...
My child theme doesn't work Error: "The parent theme is missing. Please install your parent theme"
I am using the Pricerr theme. In my parent theme I have a CSS folder with a few css files in it, a rtl.css and a style.css. What should be the code to put in the functions folder so that I can pull the info from the parents theme? And am i on the right track for identifying this as the error when they say "The parent theme is missing. Please instal...
My style in my child theme loads after the parent theme, but it breaks stuff: How do I load it before the parent theme?
I'm building my child theme, but including materialize css that I want to use, breaks the entire site when enqueued in functions.php. How do I change that?
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...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.