Jump to content

Archived

This topic is now archived and is closed to further replies.

paulhibbitts

Can accordion content be searched?

Recommended Posts

paulhibbitts    2
paulhibbitts

Hello,

 

I just bought your Accordions plugin and I really love the auto-scroll feature!

 

A question though - I've got a test page using a test accordion (http://hibbittsdesign.com/courses/cmpt-363-133-prototype/ux-techniques-guide-test/), but I cannot seem to get it to appear in the search results when I search for a string that is contained on that test page.

 

Is there anything special I need to do in order for search results to include content in Accordion Sets?

 

Thanks very much,

Paul

Share this post


Link to post
Share on other sites
danmanders    0
danmanders

Hi Paul, are you doing the search with Google, or through the search function on your site? I just checked my accordion set, and Google is finding the content just fine, although it doesn't seem to want to pick up the titles of each accordion. I didn't do anything special to enable this. If it helps, my site is http://phillydogschool.com.

Share this post


Link to post
Share on other sites
paulhibbitts    2
paulhibbitts

Thanks danmanders. It is through the search function on my site which does not seem to be locating text within the accordion set.

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

Hi Paul,

 

Unfortunately the Accordions aren't searchable with regular WordPress search function -- just like Boxes and Banners -- since each is a separate custom post. It's a pet peeve of mine with Pagelines special post types.

 

However there are a couple of plugins that you can get that will have accordions show up in your site search, Google Custom Search and Swiftype, both of which crawl each website page and return the search results. Google Custom Search has a daily limit to the number of searches before they charge and Swiftype has both a free and paid version.

 

Hope that helps.

 

Ellen

  • Like 1

Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
paulhibbitts    2
paulhibbitts

Thanks for the info Ellen and the suggestions, I'll explore both further.

 

I agree that it would be helpful to have the option to make PageLines special post types searchable.

  • Like 2

Share this post


Link to post
Share on other sites
flourishdesignstudio    9
flourishdesignstudio

I've tried using both of the alternate search options for our new site, but when you get the search results and click on a link to an accordion, you get an error 404. :( Is there any way to speed up having accordion content included in Pagelines Search functionality? Or are there any other options?

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

flourishdesignstudio I just added a shortcode so you can put Accordions within page/post content and with a plugin like Relevassi Search which searches shortcode content you can search accordions on a page. But the shortcode has to be in where you write a post/page -- not in a Pagelines Section like textbox since Pagelines Sections aren't searchable content on a page.

 

Update to the latest version of Accordions -- 1.4.1 and put [accordions accordion_set = accordion_set_slug] and replace accordion_set_slug with the slug for the accordion set you want to display.

 

You can find the Accordion Set Slug by going to Accordions --> Accordion Sets

 

Screenshot_8_28_13_12_02_PM.png

 

There are more attributes/options for the shortcode. Below is a list with the defaults. If you don't include an attribute in the shortcode it will pick up the default values.

 

            accordion_orderby= ID (default), title, date, modified or random
            accordion_order = DESC (default) or ASC,
            accordion_title_color = #000000 (Default),
            accordion_background = #f2f2f2 (Default),
            content_color = #000000 (Default),
            content_background = #ffffff (Default),
            accordion_icon = no (Default) or yes,
            accordion_open = no (Default) or yes,
            accordion_first = no (Default) or yes,
            accordion_set = default-accordions (Default) or put in accordion set slug,
            accordions_id => rand() (Default) or give an id for greater control
 
So if you want your accordions to have the title with a black background and white text your shortcode would be:
 
[accordions accordion_set = accordion_set_slug accordion_title_color = #ffffff #accordion_background = #000000]
 
Hope that helps

Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites

  • Similar Content

    • petere21
      By petere21+
      As I understand El Sues Accordions section is broken. Simon solved this problem by fixing section and we need to download it again.
      But in my account in download area there is no accordions section to download. Where can I download it? !!! Asap please my web is broken.
      Peter
       
    • chamois_blanc
      By chamois_blanc+
      Hello,
      All accordion entries are shown every time, independently of the set selected. See example here:
               http://swinginatthesavoy.com/register/
      The first accordion should only show the 2nd and 3rd entries, instead of all of them. The second accordion should only show the 1st entry.
      Please fix asap! I haven't changed anything to my content in a few weeks and it was working fine before. I am guessing this appeared in one of the latest DMS updates. I am going to use some CSS to try to hide the undesirable entries.
      Gilles
    • balfred1345
      By balfred1345
      Hi Ellen,
      I've tried every way I could think of to use CSS to get rid of what I assume is padding or margin from the top of the accordion section so that it can be closer to the <p> above it. 
      Here's a screenshot of the way it looks now:  http://screencast.com/t/2c66f6y0dex
      If you'd like to look at the page please see: http://whub34.webhostinghub.com/~videoh6/cidev2.com/moving-services/mankato-mn-movers/
      I'd like to have the accordion section with the word "More" much closer to the paragraph line above it. If you look at the CSS you'll see several instances where I put in margin: 0 !important; and padding: 0 !important.
      Can you please tell me how I can adjust the section so it is closer to the paragraph above it?
      This site is on latest versions of DMS 2 and WP. 
      Many thanks,
      Bruce
    • flourishdesignstudio
      By flourishdesignstudio
      Hello,
      I wanted to let the community know that there is a problem that has happened on a couple of DMS sites that we manage. The problem is that there are certain plugins/sections that DMS uses (such as 'Accordions' and 'Sidekick') that will appear to have an update. However, when you actually update the plugin it is replaced but a similarly named plugin. Here are the original plugins:
       
      Original: http://dms.elsue.com/accordions/ (authored by @ellenmva)
      Replaced with: https://wordpress.org/plugins/accordions/
       
      Original: http://www.pagelines.com/shop/third-party-extensions/sidekick/ (authored by Evan Mattson)
      Replaced with: https://wordpress.org/plugins/sidekick/
       
      I just wanted to know if there is anything I can do to make sure that other plugins/sections do not get replaced when I update them in the future as well as bring it to the DMS community's attention so that others do not experience the same confusion and frustration. Any thoughts would be very welcome in order to avoid this in the future.
      Thanks!
    • alisamski
      By alisamski+
      Using the accordion section... and I am trying to link a menu item to the accordion title.. not individual areas...
      My links work in the main menu, linking to an accordion title... however, they seem to have issues... I have two accordions on this page...
      When I use the menu link (below).. it breaks the accordion action... it will not open the accordion to show all the content.
      http://bit.ly/1TepJ3s
      http://bit.ly/1Hwqf84
      however when I go to the actual page.. there is no issue.
      http://bit.ly/1QPBt8r
      Please if you can take a look, I'd appreciate it.. not sure if I have the link correct.
×