-
Post count: 1branp24July 7, 2014 at 8:40 pm #1247
Hi, I’m trying to make it so that my blog posts display the full information including embedded links and social media like buttons. Is there a code for this? currently it just displays the preview of the post like this:
and I’d like it to display the entire post like below so the user doesn’t have to click the post just to see all the information/links.
Also, is there an update planned to fix the look of Soundcloud blog posts? If you can see in the images, underneath the album art there’s a lot of empty space (this space is exaggerated when posts are set to wide view instead of half as well)
Thanks
Post count: 2759JegbagusJuly 8, 2014 at 3:43 am #1259hi branp24,
you want to show full content inside blog list right? you will need to change code little bit, go to jkreativ themes folder > template > blogpost > normal.php and on line 21, change to
<?php echo the_content() ?>
instead of
<?php echo get_the_excerpt() ?>
Thank you
Post count: 1branp24July 28, 2014 at 10:55 pm #2253Hey, I was unable to locate that in line 21. The blog post file name is different as well than what you have here. I have version 1.1.2 of the theme. Screen Shots are attached, let me know if I’m missing something. Screenshots below.
Thanks
Post count: 2689RaiJuly 30, 2014 at 9:46 am #2311Hi branp24,
You pick the wrong file, the file that my friends refer to is
template/blogpost/normal.php
you need to update via FTP, it can’t be found via WP Admin theme editor.Edit those file then simply replace whole content with this:
PHP123456789101112131415161718192021222324252627282930<?php$featured = jeg_get_featured_heading(get_the_ID(), 1200, 750);$blogitemtype = vp_metabox('jkreativ_blog_format.format', null, get_the_ID());?><div class="pageinnerwrapper"><?php if(!post_password_required() && !empty($featured)) {?><div class="featured post-format-<?php echo $blogitemtype ?>"><?php echo $featured ?></div><?php } ?><div class="article-header"><a href="<?php echo get_permalink() ?>"><h2><?php echo get_the_title(); ?></h2></a><?php if(!vp_metabox('jkreativ_page_meta_top.hide_top_meta', null, JEG_PAGE_ID) && !post_password_required() ) { ?><span class="meta-top">by <a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>"><?php echo get_the_author(); ?></a>, <?php echo get_the_date(); ?></span><?php } ?></div><div class="article-content"><p class="post-excerpt"><?php echo the_content() ?></p></div><?phpif(!vp_metabox('jkreativ_page_meta_btm.hide_bottom_meta', null, JEG_PAGE_ID) && !post_password_required() ) {jeg_get_template_part('template/blogpost/article-bottom-meta');}?><div class="clearfix"></div></div>thank you
You must be logged in to reply to this topic.