Community Forums › Forums › Archived Forums › General Discussion › More tag not working in Genesis Responsive Slider
Tagged: genesis responsive slider, more tag
- This topic has 20 replies, 4 voices, and was last updated 11 years ago by weslinda.
-
AuthorPosts
-
March 6, 2013 at 5:31 am #24514RobCubbonMember
Hi, I'm trying to use the Genesis Responsive Slider with the Sample Child Theme.
I have Display Post/Page Title in Slider? and Display Content in Slider? both checked and Limit content to [?] characters has nothing in it – however this displays the whole of a post not upto the more tag as it should.
This works on an Agency Theme that I'm using really well but not on this Sample Child Theme which I'm developing on localhost.
Why doesn't the more tag work on Genesis Responsive Slider?
More tag =
<!--more-->
March 6, 2013 at 6:05 am #24518RobCubbonMemberI've just found that in the HTML the more tag comes out as:
<p><span id="more-9"></span></p>H'mmm, it's not reading the more tag. Why?
March 6, 2013 at 6:07 am #24519RobCubbonMemberMarch 6, 2013 at 10:21 am #24557RobCubbonMemberJust another point – this seems to be a Genesis Responsive Slider issue. It seems to be converting the more tag to that HTML span id in the slider but not anywhere else.
This is really annoying because it is only by using the more tag you can have specific text in the slider – otherwise you have a general character count excerpt.
March 6, 2013 at 1:03 pm #24581weslindaMemberYou should be able to use excerpts. They are not enabled out of the gate for pages, but can be by adding the code below to your functions.php file.
// Enable excerpts for pages.
add_post_type_support(
'page'
,
'excerpt'
);
Loving the Genesis Life!
March 6, 2013 at 6:15 pm #24664RobCubbonMemberThanks, weslinda, but I'm afraid it didn't work.
It appears that the more tags are working for the pages as well as the post, they're just not working in the Genesis Responsive Slider.
I have Content Archives in the Genesis Settings on "Display post content" and the Slider content settings on "Display post content". The more tags work on pages in an archive page such as a search query. However they don't work on the Genesis Responsive Slider. It attempts to display the whole page contents, images, everything. I need to be able to control where it stops exactly and you can't do that on the other option which is "Display post excerpts" which works but you have to specify an arbitrary character count.
🙁
March 6, 2013 at 6:39 pm #24666weslindaMemberFor the slider, there is no requirement to use the character count. That's only for limiting post content. The arbitrary number is for post content, not excerpt. See the text below that option. While it shows, it doesn't force you. Limiting content by character count is always when using content, not when using excerpts.
Using this option will limit the text and strip all formatting from the text displayed. To use this option, choose "Display post content" in the select box above.
Loving the Genesis Life!
March 6, 2013 at 6:59 pm #24671RobCubbonMemberI have the "Limit content to ... characters" blank and "Display post content" this should cut the content off at the more tag. At least that's what happens on another website where I've used Genesis Responsive Slider.
I've copied the settings exactly.
The problem is the more tags are being converted to span id="more-9" in the HTML.
March 6, 2013 at 7:06 pm #24672weslindaMemberIt won't do that because the plugin isn't set for that. Typically, what people will want shown in a slider versus what they might want shown on a content archive are two different amounts of text.
If you set it to "show excerpt" and put in the exact text you want in the excerpt area, then it will show the exact text you want. I know it's an extra step, but it's designed that way on purpose.
Loving the Genesis Life!
March 6, 2013 at 7:40 pm #24689MoodyRivieraMemberNot sure if my comments are relevant – since I'm not technical at all about this stuff – but using the Genesis Responsive-Slider in the Agency theme, after trying many permutations of settings – and using posts rather than pages – I got the slider to work reasonably well by:
Using posts rather than pages.
Setting up my posts with the category of "slider"
Choosing the "-slider" category in the "Choose a term to determine what slides to include" area.
For "Select one of the following" I chose "Display post excerpts"
More Text (if applicacable) I entered: Continue Reading
Left the "Limit content to ___ characters blank.
Slider excerpt width I set to 28 (although I had to play with this value to get things to look right.
Also, I did not include any "More" tags in my posts.
You'll see that the slider does not display the "blue buttons" as the StudioPress demo shows, but at least it does work – at least in the browsers I've tested it with.
You can see it on this test site:
March 6, 2013 at 7:53 pm #24693RobCubbonMemberThanks, weslinda, that's great ... but, now I don't get a Continue Reading/Read More link or Continue Reading/Read More button!
Thanks for your settings, MoodyRiviera, do you get a Continue Reading link at least?
I managed to get the blue buttons to work on Agency here: http://emarketing-consultants.com/ using the settings I described above (using the more tag) but I can't get it to work on the Sample Child Theme.
March 6, 2013 at 8:36 pm #24706weslindaMemberYes, you will lose the read more button, but I think people understand to click on the title or the image to access the information. I'm not a huge fan of having 5-10 links on a page with the same text going to different content, but that's a personal preference.
You had mentioned the big key was limiting to specific text and using excerpts will do that. That's why I recommended that solution.
Loving the Genesis Life!
March 6, 2013 at 10:52 pm #24731MoodyRivieraMemberRob...yes I did get a continued link...which you can see right here. It's not the same as the blue button continued link, but it does work:
Also, it's great to see that you got the blue buttons to work on the site you linked to, and I would really like to get mine working that way...but when you say you did that using the "settings [you] described above" I don't understand what those settings are.
Any chance you could post the settings here in a way that a non-technical person could understand? Thanks.
March 6, 2013 at 11:55 pm #24740SusanModeratorNot related to your question, but related to your comment about the difficulty with posting code here in the forum:
http://www.studiopress.community/faq/ - read #5.
March 7, 2013 at 4:31 am #24753RobCubbonMemberThanks, weslinda, but I want to be able to specify the text and have the button. I know it's possible because I've done it before but it doesn't seem to be possible this time unfortunately.
MoodyRiviera, with pleasure. http://robcubbon.com/creating-a-wordpress-business-website-agency-studiopress/ here is a video of how I did it plus a screenshot of the exact settings I used to specify the text with the more tag and have a button. Unfortunately, it seems to work sometimes but not others.
<p>Thank you, Susan. </p>
March 7, 2013 at 9:42 am #24775MoodyRivieraMemberRob,
Thanks so much for the link to your instructional video. I'm going to try that out over the weekend, and I'll let you know how it works in my situation. It's so frustrating that the slider seems to work in some situations, and not in others.
When I saw your name here the other day, I knew I had "seen you" somewhere before, and when I followed your link this morning, I immediately remembered that I had been to your web site before, and also had seen your videos on YouTube. I even made some favorable comments on your YouTube video. (Small world.)
Thanks again for your great help.
March 7, 2013 at 11:27 am #24804RobCubbonMemberThanks, small world indeed! Glad you've been to my website and seen my YouTube stuff!
Best of luck this weekend. See if you can get the button to appear! It's good that you're doing it with Posts rather than Pages because it seems to work better with them.
March 7, 2013 at 1:20 pm #24828weslindaMemberI did a quick search, and it looks this was solved in the way noted in the last part of the thread.
http://wordpress.org/support/topic/display-read-more-link-without-post-excerpt
Loving the Genesis Life!
March 9, 2013 at 10:06 am #25185MoodyRivieraMemberRob...just wanted to let you know that I did a test using your instructions and settings, and was eventually able to get the "button" to appear. The entire process of using the Genesis Responsive-Slider seems whacked though. Judging by the many people having problems, the slider is in need of some major fixes.
March 9, 2013 at 12:50 pm #25203RobCubbonMemberMoodyRiviera, great that you got the button. It can be a bit of a hassle to use this plugin, I agree, there seems to be a lot of questions about it.
Actually, weslinda, I'm sorry I didn't really get your solution before. I didn't realise you can put HTML into the Excerpts and therefore but those buttons in there. It's a bit hacky but it'll work. Thank you.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.