Community Forums › Forums › Archived Forums › Design Tips and Tricks › Content Character Limit in Featured Widget, Streamline Pro Theme
- This topic has 9 replies, 2 voices, and was last updated 9 years, 4 months ago by
Anita.
-
AuthorPosts
-
July 23, 2014 at 10:33 pm #115650
Jason Weakley
MemberHow do I make Genesis stop cutting off text with "..." in the featured widget?
http://rootedup.net/
You can see my problem here: (look for the text in the three featured services that is followed by "...")
http://rootedup.net/July 25, 2014 at 1:20 pm #115845Anita
KeymasterI was busy when I tweeted to you and thought someone might have responded. Try this - http://wordpress.org/support/topic/remove-three-dots-after-content-limit.
Love coffee, chocolate and my Bella!
July 26, 2014 at 1:21 pm #115923Jason Weakley
MemberI inserted this into the stylesheet for the child theme, is that the correct place to put it?
July 26, 2014 at 2:27 pm #115929Anita
KeymasterThat would have gone into your functions.php file. Not the style sheet.
Love coffee, chocolate and my Bella!
July 27, 2014 at 5:01 am #115961Jason Weakley
MemberI inserted it, and have refreshed the page several times... not sure I did it right, here is what the functions file looks like, I went directly into the file from my hosting account:
// Register widget areas genesis_register_sidebar( array( 'id' => 'home-featured-1', 'name' => __( 'Home - Featured 1', 'streamline' ), 'description' => __( 'This is the first featured column on the homepage.', 'streamline' ), ) ); genesis_register_sidebar( array( 'id' => 'home-featured-2', 'name' => __( 'Home - Featured 2', 'streamline' ), 'description' => __( 'This is the second featured column on the homepage.', 'streamline' ), ) ); genesis_register_sidebar( array( 'id' => 'home-featured-3', 'name' => __( 'Home - Featured 3', 'streamline' ), 'description' => __( 'This is the third featured column on the homepage.', 'streamline' ), ) ); genesis_register_sidebar( array( 'id' => 'after-entry', 'name' => __( 'After Entry', 'streamline' ), 'description' => __( 'This is the after entry section.', 'streamline' ), ) ); add_filter( 'g_ent', 'my_g_ent_filter' ); function my_g_ent_filter( $text ) { return str_replace( '…', '', $text ); }
July 27, 2014 at 5:07 am #115962Anita
KeymasterOk, so you don't want the [...] but if you remove them it will be a blank space there. So what is it you are trying to achieve. The lines effected are not not even partial sentences. How are you trying to get that to look?
Love coffee, chocolate and my Bella!
July 27, 2014 at 10:56 am #115985Jason Weakley
MemberWhat i would really like is for the space to show a defined amount of text from the excerpt for the page. Currently is shows a defined amount of text from the opening sentences of the page's content. I want the "..." to go away.
I will settle for the text coming from the page content, but I have seen examples of websites using this theme and the preview text is different from the text on the page, so I assume they are calling the text from the excerpt.
July 27, 2014 at 1:38 pm #116013Anita
KeymasterCan you provide the text? I think you probably need to be inserting the
<!--more-->
tag in the content. Pages do not use the excerpt function, so if you insert the<!--more-->
where you want it to end, then the ... should go away. Can you try that. Plus give me a couple of those example sites using this theme.
Love coffee, chocolate and my Bella!
July 28, 2014 at 3:14 am #116047Jason Weakley
Memberhttp://www.conversedigital.com/
...is an excellent example of what I am trying to do... the text they have on the home page in the feature boxes is no where to be found on the actual page.
The more tag did not do anything.
July 28, 2014 at 6:55 am #116054Anita
KeymasterAfter reviewing his code - he's using "Text" widgets in those three areas, not a featured page or a featured post. He's customized that area. And adding a custom more link to present the buttons.
Love coffee, chocolate and my Bella!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.