- This topic has 7 replies, 3 voices, and was last updated 5 years, 10 months ago by
Skandha.
-
AuthorPosts
-
January 8, 2019 at 2:11 am #163115
ExperienceBar
ParticipantHi,
I didn’t notice a Verity-specific support section, so I’m posting here.
I’m currently struggling with unwanted ellipses at the end of my excerpts. See below:
http://box5751.temp.domains/~experjw1/
Please note this is a temporary domain.
Each of my excerpts end with a … and I’m unable to locate the function that is adding it. Could I get some direction in removing them?
The excerpts should read:
“Rethinking your life choices? Might be time for a Mindwipe Tonic from ARK: Survival Evolved: a game-changing beverage made of gin, blueberries, blue curacao and lime juice.”
Currently, this reads:
“Rethinking your life choices? Might be time for a Mindwipe Tonic from ARK: Survival Evolved: a game-changing beverage made of gin, blueberries, blue curacao and lime juice. …”
January 8, 2019 at 3:31 am #163118Skandha
Participant@experiencebar: For that you will need to create a child theme and do a bit of customization. Let me know if you are familiar with child theme customization so that I can help you out!
Kind Regards,
SkandhaJanuary 8, 2019 at 5:21 pm #163154ExperienceBar
Participant@Skandha: Thanks for the response! I have created a child theme and applied a couple of customization options of my own already—what’s next?
Jack
January 9, 2019 at 12:12 am #163174Skandha
Participant@experiencebar: Go to => Child Theme Folder => functions.php and add the following Code.
function verity_excerpt_more( $more ) { if ( is_admin() ) { return $more; } $more_tag_text = get_theme_mod( 'verity_excerpt_more_text', esc_html__( 'Continue reading', 'verity' ) ); $link = sprintf( '<a href="%1$s" class="more-link"><span>%2$s</span></a>', esc_url( get_permalink( get_the_ID() ) ), /* translators: %s: Name of current post */ wp_kses_data( $more_tag_text ). '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' ); return $link; }
Let me know if this works out!
Kind Regards,
SkandhaJanuary 9, 2019 at 1:37 am #163178ExperienceBar
ParticipantIt doesn’t seem to have made a difference—I’m still getting the ellipses and, to my eyes, nothing else has changed on the front page.
Here’s my current functions.php code in full, if that’s of any use:
<?php function my_theme_enqueue_styles() { $parent_style = 'verity-style'; wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); } add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function verity_excerpt_more( $more ) { if ( is_admin() ) { return $more; } $more_tag_text = get_theme_mod( 'verity_excerpt_more_text', esc_html__( 'Continue reading', 'verity' ) ); $link = sprintf( '<a href="%1$s" class="more-link"><span>%2$s</span></a>', esc_url( get_permalink( get_the_ID() ) ), /* translators: %s: Name of current post */ wp_kses_data( $more_tag_text ). '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' ); return $link; } ?>
January 9, 2019 at 2:36 am #163179Skandha
Participant@experiencebar: The code I provided is working at my end. I will need to login to your site and look into the issue. For that I will need your WP admin credentials. I will contact you shortly by email.
Kind Regards,
SkandhaApril 29, 2019 at 11:45 pm #171559ArOuthwaite
ParticipantHi,
I also couldn’t fine a Verity-specific support section, so I’m posting here.
The questions are for this website https://wearearising.org
How can I remove the “Portfolio” and “Featured” content from the Static Homepage?
I can’t see the options in the ‘Customise’ menu, nor can I see instructions and FAQs and can’t find the answer. There are instructions on how to add that content, but not how to remove it or toggle on/off to see how it could look differently
Thank you in advance.
April 30, 2019 at 2:22 am #171577Skandha
Participant@arouthwaite: Hello there,
You can find Verity Support Section on the Select Theme Dropdown Options in the Support Forum.Do you mean to remove “Portfolio” and “Featured” content only from the Static Homepage or you want to remove it completely from your site?
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Verity support’ is closed to new replies.