Jump to content

Archived

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

leftcoastmichael

Hiding / Disabling Sections on specific pages

Recommended Posts

leftcoastmichael

Hi. I've got a full-width slider on my pages. I'd like to 'not show' it on certain pages. I tried just removing it from a specific page, but that removed it from all pages.

Share this post


Link to post
Share on other sites
Rob

You're using Global settings to add it, and not local so that it would appear on one page only.  Remember this key point.  Global is site-wide, Local is one page at a time.

 

I'm going to do what I know you don't like, but I must, and remind you to read the docs.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
leftcoastmichael

Thanks Rob. I'm actually aware of global vs local (or, at least, I think I am!)  I've been adding sliders to local pages only, but DMS appears to be placing the sample slider data into the slider on every page. So for each page that I do not upload a slider image for, it simply shows the 3 sample sliders.  I probably missed something along the way...

 

Likewise, I'd like to do the same for items in the Header and Footer...

 

 

US13Sn6.jpg

Share this post


Link to post
Share on other sites
batman

Hi leftcoastmichael

If I understand you 

You can use a simple CSS rules to don´t show for example the RevSlider on one page

 

So, something like

.page-id-12992 #header.header.pl-region {display: none}

 

If you also wish to know how I find the page ID, all you need to do is load up FireBug or Google Chromes web dev tool and inspect your page html, at the top you should see body which has a number of classes assigned to it, one of these is page-id-XX (replace XX with your pages id value. I have added a danny´s screenshot to assist you.

 

http://screencast.com/t/HOsjhjnUIYX 


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
thebastion

leftcoastmichael anything you place in the header section will show on every page you make unless you do what batman says.

Share this post


Link to post
Share on other sites
leftcoastmichael

Awesome batman"] and thanks @[member="thebastion

I just noticed, the answer to my own question is "don't put the the Full-with slider into the the Header".  Doh.

 

I'm assuming the same applies to the footer section?

Share this post


Link to post
Share on other sites
batman

Hi again

Yes, you can apply to the footer section too.

;)


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
Rob

Header and Footer sections are by default, global areas.  DMS or any system will presume you added something to the header or footer to be consistent.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

  • Similar Content

    • yemoonyah
      By yemoonyah+
      Hi, even though I just got a SSL certificate, I can't get the green padlock to appear due to the following error:
      :A file with an insecure url of "http://yemoonyah.com/wp-content/plugins/pl-section-boxes/check.svg" was loaded via the javascript file: https://yemoonyah.com/wp-includes/js/jquery/jquery.js?ver=1.12.4 on line 3. The insecure URL may not be directly contained in the script file and may exist elsewhere."
      I figured if I delete and re-install the plugin it might fix the problem but will my boxes on the website still be there? Or do I have to redesign everything all over again if I delete the plugin and then re-install it?
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a week ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • cstudio
      By cstudio
      Hello,
      I need some help!  I am trying to add a Square booking script.  When I add it to a embed section it crashes the page editor and I am unable to save the page version.  I have tried using different browsers with the same result.
       I can add the script on the backend in the word press content area and get it to show and work, but it look terrible.  A page with in a page.  http://www.zoeanastacia.com/booking/.
      I need help getting the page editor to work properly or to make the wp content section to not look like an 90's iframe.
      Thanks
×