Tagged: x
-
AuthorPosts
-
September 2, 2016 at 4:34 pm #1158979
vojtechzikmundParticipantHello there,
I have set up my blog, but on any of my categories pages and search I see only titles without pictures. Is there any solution to show it exactly how it is on the blog page itself?
September 2, 2016 at 4:34 pm #1158980
vojtechzikmundParticipantThis reply has been marked as private.September 2, 2016 at 9:48 pm #1159308
Rue NelModeratorHello There,
Thanks for writing in! Most of you blog posts has an image yet you did not add a feature image. This is the reason why there is no feature image being displayed on Category and Search page. Please edit each of your blog post and insert a feature image instead to resolve this issue.
https://www.youtube.com/watch?v=cTCywimz2qI
Hope this helps.
September 2, 2016 at 10:27 pm #1159340
vojtechzikmundParticipantThis reply has been marked as private.September 3, 2016 at 12:53 am #1159415
Rue NelModeratorHello There,
Thanks for the updates! The featured images is the only way of displaying the images in X. Unless other wise you want to display the full contents instead of the excerpts in category and search pages, then your images will be displayed. If that is the case, since you have your child theme active and ready, please follow the following steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file<?php // ============================================================================= // VIEWS/GLOBAL/_CONTENT.PHP // ----------------------------------------------------------------------------- // Display of the_excerpt() or the_content() for various entries. // ============================================================================= $stack = x_get_stack(); $is_full_post_content_blog = is_home() && x_get_option( 'x_blog_enable_full_post_content' ) == '1'; ?> <?php if ( is_singular() || $is_full_post_content_blog || is_category() || is_search() ) : x_get_view( 'global', '_content', 'the-content' ); if ( $stack == 'renew' ) : x_get_view( 'renew', '_content', 'post-footer' ); endif; else : x_get_view( 'global', '_content', 'the-excerpt' ); endif; ?>3] Save the file named as
_content.php
4] Upload this file to your server in the child theme’s folder
wp-content/themes/x-child/framework/views/global/We would loved to know if this has work for you. Thank you.
September 3, 2016 at 4:32 am #1159542
vojtechzikmundParticipantThis reply has been marked as private.September 3, 2016 at 7:02 am #1159622
RadModeratorHi there,
Would you mind providing your _content.php? There is nothing on line 10 from the above code. Have you done some customization to initially provided above code?
You may also provide your FTP login credentials in private reply. It’s easier to check it directly 🙂
Thanks!
September 3, 2016 at 10:11 am #1159736
vojtechzikmundParticipantThis reply has been marked as private.September 3, 2016 at 8:56 pm #1160128
Rue NelModeratorHello There,
The password seems incorrect. Please double check it for us. And by the way, you should make sure that you have copied correctly exactly the same code word for word, character per character. One missed quote could lead to an error.
Please let us know how it goes.
September 4, 2016 at 8:26 am #1160545
vojtechzikmundParticipantThis reply has been marked as private.September 4, 2016 at 3:15 pm #1160816
RadModeratorHi there,
I checked and it’s working on those categories. Would you mind providing a screenshot of what you’re getting? And please clear your browser cache before testing.
Thanks!
September 4, 2016 at 3:24 pm #1160817
vojtechzikmundParticipantThis reply has been marked as private.September 4, 2016 at 8:14 pm #1161024
LelyModeratorGlad it is working now.
Thank you for updating us.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1158979 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
