Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author cubecolour

    (@numeeja)

    I can’t see your site so I am unable to look for clues in the page source.

    Which theme are you using?

    Does your theme’s footer.php (or possibly another theme file) contain the wp-footer hook?

    This would normally appear in the code as wp_footer() just before the closing </body> tag, and needs to be present in the theme for the tabby.js javascript file and scripts used by other plugins to be loaded.

    Thread Starter digitalcarol

    (@digitalcarol)

    Its a studiopress lifestylye-pro genesis theme.

    Sorry I have removed the splash page now if you want to take a look

    thanks,

    Carol

    Plugin Author cubecolour

    (@numeeja)

    Are you trying to include the tabs on the ‘our story’ page? http://fullfillco.com/?page_id=9

    Did you copy & paste the shortcodes into your page content and then edit them or did you type them manually? If you copied them form an example page, try deleting & retyping them.

    Remember to leave a line before and after each shortcode, eg:

    [tabby title="Tab One"]
    
    content goes here
    
    [tabby title="Tab Two"]
    
    content goes here
    
    [tabby title="Tab Three"]
    
    content goes here
    
    [tabbyending]

    It looks like the tabgroup is included within a level two heading as there appears to be an open <h2> tag before the tabgroup which can cause problems.

    I don’t see the tabby.js script included in your footer. Have you edited the footer.php of your child theme? If so ensure the wp_footer hook has not been deleted.

    Thread Starter digitalcarol

    (@digitalcarol)

    I just copied and pasted, as I did with your code above. but now it’s done something funny.

    What do I need to do with the footer? where is the script located? and do I just paste it in too?

    Plugin Author cubecolour

    (@numeeja)

    That’s looking better – its *almost working* now

    The script seems to be loading OK now so there’s no need to do anything with the footer.

    I can see that the first tab seems to have loaded, however as you copied & pasted the shortcodes, it appears that some of the the quote characters became incorrectly converted somewhere in the cut & paste process.

    Try deleting each shortcode and retyping it manually.

    Thread Starter digitalcarol

    (@digitalcarol)

    Hi thanks for the prompt responces.
    I did as you suggested but there is not much difference to it now.
    Also the right bar widget has now been pushed down to the bottom of the page.

    Any ideas?

    Thanks

    Plugin Author cubecolour

    (@numeeja)

    It looks like the shortcodes aren’t formed properly.

    What tabby shortcodes have you used on the page? Can you copy the exact code into your forum reply – use the code buttons on the forum to add backticks before & after so it looks something like this:

    [tabby title = "First"]
    
    [tabby title = "Second"]
    
    [tabby title = "Third"]
    
    [tabbyending]
    Thread Starter digitalcarol

    (@digitalcarol)

    [tabby title = “Craft”]

    [tabby title = “Beliefs”]

    [tabby title = “History”]

    [tabbyending]

    I have tried it with no spaces on either side of the = as you have it above as well but still isn’t working. I would really like to have this feature so if there is anything else I can try?

    Plugin Author cubecolour

    (@numeeja)

    The spaces before & after the = are not necessary but wouldn’t make any difference.

    The shortcodes above look Ok and on viewing the source of the page on your site I can see that the scripts are loaded correctly and the first tab is ‘kind of’ appearing.

    I’m wondering whether there might be any html elements in the page content which might interfering with how the tabs display – specifically non-matched opening/closing tags.

    I notice in the page source that the markup presented to the browser looks like this:

    <h2><div class="responsive-tabs-wrapper"><div class="responsive-tabs responsive-tabs--enabled"><ul role="tablist" class="responsive-tabs__list"><li tabindex="0" role="tab" aria-controls="tablist1-panel1" id="tablist1-tab1" class="responsive-tabs__list__item responsive-tabs__list__item--active">Craft</li></ul>
    <h2 tabindex="0" class="tabtitle responsive-tabs__heading responsive-tabs__heading--active">Craft</h2>
    <div id="tablist1-panel1" aria-labelledby="tablist1-tab1" role="tabpanel" aria-hidden="false" class="tabcontent responsive-tabs__panel responsive-tabs__panel--active">
    </div></div></div></h2>

    If I add line breaks and tabs & make it more readable to show how it is nested it looks like this:

    <h2>
    	<div class="responsive-tabs-wrapper">
    		<div class="responsive-tabs responsive-tabs--enabled">
    			<ul class="responsive-tabs__list">
    				<li id="tablist1-tab1"">
    					Craft
    				</li>
    			</ul>
    			<h2 class="tabtitle">
    				Craft
    			</h2>
    			<div id="tablist1-panel1">
    			</div>
    		</div>
    	</div>
    </h2>

    I suspect that the invalidly nested <h2> tags may have something to do with the problem, so we need to work out how they are getting there.

    Can you go into your page editor for that page and select the text editor mode (as opposed to the visual editor), select all of the text, copy it to your clipboard and paste it into a reply on the forum.

    Be sure to press the [code] button before and after pasting in the markup to add the 'code' backticks so that it is shown like the example code I have pasted in my forum posts (ie with a darker background & monospaced typeface)

    Thread Starter digitalcarol

    (@digitalcarol)

    Images on the farm, personalised to create a feeling of lifestyle and images and text
    <h2>[tabby title="Craft"]</h2>
     
    
    In Ayurveda Yoga, Sattvic denotes a class of foods that are fresh, juicy, light, nourishing, and tasty, and thus give necessary energy to the body and help achieve balance.
    
    We include as many of the elements of the ancient sattvic diet as we can. This is a 5,000 year old way of prepar-ing foods that are fresh, juicy, light, nourishing and tasty, and harness the energy to keep the body and soul to-gether.
    
    Yoghurt, Whey and fruit are a key part of the sattvic or yogic diet. FullFill is crafted in this tradition by carefully selecting the best quality cultures, whey, milk and fruit to contribute to the sattvic effect of nurturing the body, helping heal and calm, sharpening the mind and supporting the immune system.
    
    We’re not saying it’s going to lead you to enlightenment, but it’s a step along the path.
    
    Our milk comes from happy grass fed cows in the Sunny South East of Ireland.
    We unashamedly use whole milk in all its original goodness and mix it with the highest quality whey and casein protein. Then we add Greek yoghurt cultures, which are naturally creamier and sweeter. We let them ferment for a few hours, before allowing to chill.
    For some extra lusciousness we fold in fruit puree (or Belgian chocolate when we’re feeling really naughty). This way we only have to add a tiny shake of light unrefined cane sugar to complete the experience. And to keep our food miles to a minimum, we do everything at source.
    
     
    <h2>[tabby title = "Beliefs"]</h2>
     
    
    Hi I’m Evie Flynn from FullFill. My inspiration for FullFill came from my upbringing on a typical dairy farm on the south coast of Ireland, where our lives revolved around nature and seasonality. We made cheese and yoghurt with milk from our dairy. We grew vegetables and picked blackberries, pears and plums from our hedgerows and trees. If a food wasn’t from our farm, it was from the local creamery shop.
    
    From an early age I had my own little harvest of radishes and herbs, which I supplied to the local shop. On taking over the management of my family farm, I continued with the ethos of producing food as simply as possible, conserving nature and using natural planting systems for our pastures to produce pure clean food.
    
    When I took up yoga, I came to realise that our family’s lifestyle and food culture was not a million miles away from the ancient yogi sattvic way, with its emphasis on fresh, whole foods. The yogis recognised the close con-nection between mood and food, wellbeing and diet. I created FullFill to offer busy people a taste of this way of living, and a fresh wholesome alternative to highly processed convenience foods. It is my wish that FullFill will contribute to helping busy on the go people stay healthy.
    
     
    <h2>[tabby title = "History"]</h2>
     
    
    The idea for Fulfil came about in 2013 during a period of uncertainty in the dairy farming sector here in Ireland. I wanted to create a business in my local farming community to add value to the milk we produce and ultimately to provide rurally based jobs.
    
    I’m from a multi-generational farming family in the South East of Ireland. Having managed my family’s dairy farm for nine years using conservational concepts, I returned to college to study Agricultural and Environmental Science at University in Dublin; and Horticulture at the National and Royal Botanic Gardens, in Dublin and London respectively. From this backdrop, FullFill’s brand ethos emerged of using clean, naturally produced ingredients to make wholesome delicious food.
    
    [tabbyending]
    Thread Starter digitalcarol

    (@digitalcarol)

    That’s everything on that page

    many thanks!

    Thread Starter digitalcarol

    (@digitalcarol)

    I have added css to my H2 so would that be it?

    Here is the CSS for the h2

    h2, .home-top .entry-title {
    	font-size: 34px;
    	font-family: 'Amatic SC', cursive;
    	color: #EFB22D;
    }
    Plugin Author cubecolour

    (@numeeja)

    Can you try taking out the <h2> tags as I think they may be causing the issue

    eg for the first shortcode, instead of:
    <h2>[tabby title="Craft"]</h2>

    use:
    [tabby title="Craft"]

    and so on for the others.

    The shortcode automatically adds in h2 tags to make the tab titles, so these should inherit your h2 styles, but having h2 tags nested within h2 tags is invalid markup.

    Thread Starter digitalcarol

    (@digitalcarol)

    It worked! Thanks a million for your wonderful support. It didn’t inherit the h2 tag css elements but I may need to buy the customiser for that? Which I intend on doing so anyway.

    Thanks again! Great plugin!

    Carol

    Plugin Author cubecolour

    (@numeeja)

    Looking good!

    If you view the page source in the browser you should be able to see the Tab titles are now in h2 tags like this:

    <h2 class="tabtitle">Craft</h2>
    <div class="tabcontent">
    content here...
    </div>

    The titles should inherit the font family style of the h2, but the size, padding etc will be overidden by the tabby styles.

    Now you have the tab shortcodes working with the default styles, if you do choose to later get the optional customiser it should just work without any hassle & you’ll find that it is designed to be as easy to use as possible.

    I’m very pleased that you like the plugin. If you would like to leave a review, you can do so at: https://wordpress.org/support/view/plugin-reviews/tabby-responsive-tabs.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Tabs not showing and deactivated plugins but not working’ is closed to new replies.