Tagged: x
-
AuthorPosts
-
January 13, 2017 at 12:36 pm #1329066
TrulyBlissfulParticipantI am still trying to get my bearings with Ethos 1 demo. When I set up my site, I didn’t get the option of standard or expanded. My demo had no place holders like this page shows: https://community.theme.co/kb/demo-content/
I think I must have done something wrong to begin with. Here is my site info:http://66.147.242.94/~trulybli/wp-admin/customize.php?url=http%3A%2F%2F66.147.242.94%2F%7Etrulybli%2F
Do you need my log in or anything? I really need to get this website finished. And I’m struggling with every step.
Thanks so much,
DarieJanuary 13, 2017 at 3:20 pm #1329200
JadeModeratorHi Darie,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
January 13, 2017 at 6:31 pm #1329306
TrulyBlissfulParticipantThis reply has been marked as private.January 14, 2017 at 12:33 am #1329616
ChristopherModeratorHi there,
Post slider is being displayed on blog,archive and posts pages. Blog page in your site is ‘journal’ and it displays post slider.
Thanks.
January 14, 2017 at 9:17 am #1329927
TrulyBlissfulParticipantOn the ethos demo home page (the sample page on your website), there’s a slider and the posts that are shown as part of a magazine look have excerpts. They also have cool features like the title is over the image, etc. Why can’t I get that to be on my homepage?
January 14, 2017 at 7:09 pm #1330333
Rue NelModeratorHello There,
Thanks for updating in! When I checked your site, I am seeing this; http://prntscr.com/dvr2oa
Please check your site so that we can log in.Are you using Ethos 1 demo content? Please make sure that the Filter Index is turned “Off”. You can check it Appearance > Customize > Ethos > Blog Options. Enabling the filterable index will bypass the standard output of your blog page, allowing you to specify categories to highlight. Upon selecting this option, a text input will appear to enter in the IDs of the categories you would like to showcase. This input accepts a list of numeric IDs separated by a comma (e.g. 14, 1, 817).
Hope this helps.
January 17, 2017 at 6:38 pm #1334273
TrulyBlissfulParticipantThis reply has been marked as private.January 18, 2017 at 12:47 am #1334616
Paul RModeratorHi,
I was able to fix the syntax error, you may now activate x child theme.
Thanks
January 18, 2017 at 4:53 pm #1335783
TrulyBlissfulParticipantThanks for fixing the error.
On the ethos demo home page (the sample page on your website), there’s a slide that I can’t get to work. Also the posts have excerpts, which I can’t get to work. They also have cool features like the title is over the image in a translucent box, etc. Why can’t I get that to be on my homepage?
January 18, 2017 at 10:17 pm #1336164
RupokMemberHi there,
Thanks for writing back. It seems you are referring Post Carousel or Post Slider and both can be set from Customize > Ethos. Let us know if you can’t set this from there.
Cheers!
January 20, 2017 at 11:36 am #1338597
TrulyBlissfulParticipantI need excerpts to show on from recent posts on the home page. How do I enable that?
January 20, 2017 at 2:27 pm #1338850
JadeModeratorHi there,
Please add this in child theme’s functions.php file :
// ============================================================================= function x_shortcode_recent_posts_v2code( $atts ) { extract( shortcode_atts( array( 'id' => '', 'class' => '', 'style' => '', 'type' => '', 'count' => '', 'category' => '', 'enable_excerpt' => '', 'offset' => '', 'orientation' => '', 'no_image' => '', 'fade' => '' ), $atts ) ); $id = ( $id != '' ) ? 'id="' . esc_attr( $id ) . '"' : ''; $class = ( $class != '' ) ? 'x-recent-posts cf ' . esc_attr( $class ) : 'x-recent-posts cf'; $style = ( $style != '' ) ? 'style="' . $style . '"' : ''; $type = ( $type == 'portfolio' ) ? 'x-portfolio' : 'post'; $count = ( $count != '' ) ? $count : 3; $category = ( $category != '' ) ? $category : ''; $category_type = ( $type == 'post' ) ? 'category_name' : 'portfolio-category'; $offset = ( $offset != '' ) ? $offset : 0; $orientation = ( $orientation != '' ) ? ' ' . $orientation : ' horizontal'; $no_image = ( $no_image == 'true' ) ? $no_image : ''; $fade = ( $fade == 'true' ) ? $fade : 'false'; $enable_excerpt = ( $enable_excerpt == 'true' ) ? true : false; $output = "<div {$id} class=\"{$class}{$orientation}\" {$style} data-fade=\"{$fade}\">"; $q = new WP_Query( array( 'orderby' => 'date', 'post_type' => "{$type}", 'posts_per_page' => "{$count}", 'offset' => "{$offset}", "{$category_type}" => "{$category}" ) ); if ( $q->have_posts() ) : while ( $q->have_posts() ) : $q->the_post(); if ( $no_image == 'true' ) { $image_output = ''; $image_output_class = 'no-image'; } else { $image_output = '<div class="x-recent-posts-img">' . get_the_post_thumbnail( get_the_ID(), 'entry-' . get_theme_mod( 'x_stack' ) . '-cropped', NULL ) . '</div>'; $image_output_class = 'with-image'; } $output .= '<a class="x-recent-post' . $count . ' ' . $image_output_class . '" href="' . get_permalink( get_the_ID() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ) . '">' . '<article id="post-' . get_the_ID() . '" class="' . implode( ' ', get_post_class() ) . '">' . '<div class="entry-wrap">' . $image_output . '<div class="x-recent-posts-content">' . '<h3 class="h-recent-posts">' . get_the_title() . '</h3>' . '<span class="x-recent-posts-date">' . get_the_date() . '</span>' . ( $enable_excerpt ? '<span class="x-recent-posts-excerpt">' . strip_tags( get_the_excerpt() ) . '</span>' : '' ) .'<div>' . __( 'Read More', '__x__' ) .'</div>' . '</div>' . '</div>' . '</article>' . '</a>'; endwhile; endif; wp_reset_postdata(); $output .= '</div>'; return $output; } add_action('wp_head', 'change_recent_posts_to_v2'); function change_recent_posts_to_v2() { remove_shortcode( 'x_recent_posts' ); add_shortcode( 'x_recent_posts', 'x_shortcode_recent_posts_v2code' ); }Then add following shortcode to your page :
[x_recent_posts type="post" enable_excerpt="true" count="3" orientation="horizontal"]Hope that helps.
January 21, 2017 at 5:04 pm #1339940
TrulyBlissfulParticipantThis reply has been marked as private.January 21, 2017 at 11:45 pm #1340178
ChristopherModeratorHi there,
I can’t access your sit, it show 500 error.
Please contact your host provider.Thanks.
January 22, 2017 at 11:30 am #1340558
TrulyBlissfulParticipantThis reply has been marked as private. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1329066 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
