Hmm… I successfully made the change but it didn’t fix it. Any other ideas? When I take a look at the page source in a browser, it looks like the problem is that the <div class=”news-box”> container isn’t getting closed with a </div> after each post. Instead, each new post is getting inserted into the <div class=news-box> element of the post before it, and all the closing tags are just being stacked at the end of the section.
Here’s the latestposts code from my custom-functions.php file:
get_header(); ?>
<div class="content-area">
<div class="middle-align content_sidebar">
<div class="site-main" id="sitemain">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' ); ?>
<?php skt_bakery_content_nav( 'nav-below' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() )
comments_template();
?>
<?php endwhile; // end of the loop. ?>
</div>
<?php get_sidebar();?>
<div class="clear"></div>
</div>
</div>
<?php get_footer(); ?>
There seems to be an issue with the Latest News section where the width of each post is showing up as a percentage of the width of the post above it rather than a percentage of the width of the parent container. The posts are also not appearing side by side like they do on the demo page, but instead they’re all stacked on the left. You can see what I’m talking about at http://test.justiceforhumanity.com
I tried looking at the shortcode in custom-functions.php, but I’m not experienced enough to troubleshoot the issue. Could you please help identify what needs to be fixed? Thank you.
Hi,
After changed to ‘full’ in inc/custom-function.php, now both thumbnail and lightbox view are in full size as they are pointing to the same url. This increase loading page time significantly. Please advice how to retain the thumbnail size as 300 x 200 and lightbox view as 600 x 400.
The issue I have is in using the default theme header image for posts/pages which do not have a header image.
I have had to edit header.php to comment out line 127
` <!–/images/default-banner.jpg” alt=””>–>
This cannot be controlled by using options or css.
I installed Inbound Now Landing Pages plugin and this message comes up:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘hook_custom_javascript’ not found or invalid function name in /home/public_html/wp-includes/plugin.php on line 525
I am using the Build theme and at Inbound Now they speculated that my theme is causing this warning message. Can this be fixed?