More tag not working in Genesis Responsive Slider

Community Forums Forums General Discussion More tag not working in Genesis Responsive Slider

This topic is: not resolved

This topic contains 20 replies, has 4 voices, and was last updated by  weslinda 1 year, 7 months ago.

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #24514

    RobCubbon
    Participant
    Post count: 103

    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-->


    #24518

    RobCubbon
    Participant
    Post count: 103

    I’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?


    #24519

    RobCubbon
    Participant
    Post count: 103

    Wow! It’s tricky to post HTML here !


    #24557

    RobCubbon
    Participant
    Post count: 103

    Just 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.


    #24581

    weslinda
    Participant
    Post count: 193

    You 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!

    #24664

    RobCubbon
    Participant
    Post count: 103

    Thanks, 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.

    :(


    #24666

    weslinda
    Participant
    Post count: 193

    For 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!

    #24671

    RobCubbon
    Participant
    Post count: 103

    I 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.


    #24672

    weslinda
    Participant
    Post count: 193

    It 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!

    #24689

    MoodyRiviera
    Participant
    Post count: 62

    Not 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:

    http://www.thequidnunc.com

     

    #24693

    RobCubbon
    Participant
    Post count: 103

    Thanks, 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.


    #24706

    weslinda
    Participant
    Post count: 193

    Yes, 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!

    #24731

    MoodyRiviera
    Participant
    Post count: 62

    Rob…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:

    http://www.thequidnunc.com

    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.

     

    #24740

    Susan
    Moderator
    Post count: 9240

    Not related to your question, but related to your comment about the difficulty with posting code here in the forum:

    http://www.studiopress.com/forums/faq/ – read #5.


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #24753

    RobCubbon
    Participant
    Post count: 103

    Thanks, 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.

    [html]<p>Thank you, Susan. </p>[/html]


Viewing 15 posts - 1 through 15 (of 21 total)

You must be logged in to reply to this topic.