7 posts in this topic
register_sidebar warning messages when upgrade to WP 4.3
Have an old frameworks site client is not ready to update to DMS: http://deckmasterfinedecks.com. Have the most recent version of Frameworks installed.
Just updated plugins all was fine. Updated Wordpress core from 4.1.7 to 4.3 and got a bunch of notice errors messages - specifically 10 notices that the sidebars were not being registered properly in functions.php as they require an ID, so default IDs were being used. Here are the warnings:
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "Primary Sidebar" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/leavens/public_html/wp-includes/functions.php on line 3622
(also for Secondary, Tertiary, Universal, Full Width, Content, Footer Columns, MoreFoot Left/Middle/Right)
After some investigation, I found had define('WP_DEBUG', true); in wp-config.php so set that to false to get rid of the messages, but is this a bug that should be addressed? Have not checked each and every page of side to make sure all is functioning, but thought his was a serious enough issue to bring it to the communitiy's attention.
Modal Popup Works, But Section Not Visible In DMS Editor
Hi, the Modal Popup is working fine. But whenever I look on the DMS Editor, that section is gone. It was placed at the bottom of the Footer. The first time it happened, I thought maybe I had inadvertently deleted it, or not saved properly. So I re-created another one. And so on. Then I finally realized it was working after all. But now I'm wondering if there are several of my popups in place, all of them the same, yet none of them visible, but yet all of them working. I've tried adjusting/saving into a new page template. I've tried turning on/off the DMS Editor. Still can't find a trace of the Modal Popup section, yet I know it works because I used Safari and Firefox to confirm, even on a different computer. Thanks for any help/insight you might provide.
I Little Widgetizer & Sidebar Help... Please!
I am a bit confused by the following situation:
I have WPMU DEV's Custom Sidebar Plugin installed, with a few sidebars created, "Sidebar 1", "Sidebar 2", "Sidebar 3", etc.
I have a Page Template, let's call it "Page With Sidebar".
Within the "Page With Sidebar" template, I have a Widgetizer box, with a Default Sidebar as "Sidebar 1".
Everything works up until this point.
Now, I create a new Page.
From the Edit Page screen, I select DMS Page Setup -> Load PageLines Template -> "Page With Sidebar".
I scroll a little further down the screen to the Sidebar Menu, that states:
"Here you can replace the default sidebars. Simply select what sidebar you want to show for this post!"
And, I select "Sidebar 2", publish the page, and go to view it to see - "Sidebar 1" on the page.
What am I missing?
Creating a page template without cloning the whole page
I'm working on http://www.asanalibraryonline.com/seated-poses/dandasana/ right now. There will be 100 different pages for 100 different yoga poses. Each page will have the exact same design, but different pictures and text. Is there a way to create a page template that I can re use for each individual pose?
I tried to save the page template and then activate it on the 2nd page/pose I was working on, but all it did was clone the page. The moment I edited the second page/pose, the changes reflected on the first page too.
So my question is, How do I save all the sections and formatting as a template and still be able to edit it individually?
Best approach for integrating with a service that needs specific version of jQuery?
I'm working with a developer on an integration between my DMS2-based site and a 3rd party service that needs to use an older version of jQuery for some important transactional elements.
We initially tried to create a custom page template in our child theme (as per http://forum.pagelines.com/topic/27391-custom-page-templates/), with the thought that we could un-enqueue jQuery (and other things that don't work) in our new template.
However, the page template is not selectable in the DMS Page Setup box. We are using the skeleton-basic child theme.
This particular page doesn't need to do any drag and drop editing - but we do want the header, menu, and other elements on our site. The transactional element is inserted in the page using a shortcode, after the page content.
I want to be able to create several instances of this page, which is why we thought a page template would be the easiest way to accomplish this. An alternative would be to unhook the jquery in functions.php using a custom field, but this would be a lot more work than just a page template.
Do you have some other suggestions?
Summary of our setup:
Theme: Skeleton-basic child theme and DMS2
Hosting: LAMP stack at LiquidWeb