Can you upload the single.php somewhere so I can take a quick look? No doubt the theme has done some things in a ‘non-standard’ way which is causing issues.
https://www.dropbox.com/s/jjbqapsyxf3856w/single.php
I really don’t know much about creating themes/php so forgive me if this is way off, but I tried adding <?php the_content(); ?> again just to see what would happen and it adds all of the information from the job post except the description so is there some way to add only what’s in the content/text/whatever you want to call it box?
Actually I think I might have gotten it from trying random bits of code I found on the codex.
http://codex.wordpress.org/Template_Tags/get_posts
Used ‘Access all post data’ except I only kept:
<?php
$args = array( ‘posts_per_page’ => 1 );
foreach ( $lastposts as $post ) :
setup_postdata( $post ); ?>
<?php the_title(); ?>
<?php the_content(); ?>
<?php endforeach;
wp_reset_postdata(); ?>
and put it right before the clearfix div in the php file.
That clearfix part with
echo wpb_js_remove_wpautop(apply_filters('the_content',
does look like the part which is breaking this. In fact, that template looks real bad – the bottom code which is all commented out looks like it has a better loop. I’d use that part and remove the top ‘loop’ altogether.
I’m having the same problem. Follow the link of my single.
https://www.dropbox.com/s/pm1gy30oe7yt4uz/single-job_listing.php
I appreciate the help. Thanks.
@bruno.carvalho: If you require assistance then, as per the Forum Welcome, please post your own topic.