Issue with adding sidebars

Viewing 15 posts - 46 through 60 (of 68 total)
  • #21150
    InvYor
    Participant

    PL – did you try the theme version in reply #21094 in this thread? It still has some issues but that sidebar issue is fixed. The workarounds for the other issues I used can be seen in reply #21122

    #21156
    bo-oz
    Participant

    I’m experiencing the same sidebar issues (only able to save default value for one sidebar), also used CSS to manually hide the title / description.

    So, baiscally just posting for follow-up…. Is there a 1.1.2 changelog available somwhere?

    #21161
    bernard
    Participant

    Hi Daniel,

    I have downloaded your latest version, but there is still no “add sidebar” button on neither firefox nor chrome browsers. Please help.

    Regards,

    Bernard

    #21162
    InvYor
    Participant

    Hey Bernard,

    Daniel’s gone quiet as of late with this issue, but if you hit the save button at the bottom of the page it should add the different sidebars but then a few other issues in this thread will still apply.

    #21163
    bernard
    Participant

    Hi InvYor,

    Thanks for your prompt reply. I tried clicking the ‘save setting’ button at the bottom, but still it returned me to the same page with:

    Sidebar title…
    Display sidebar title…
    Select template to edit [404]
    etc,etc

    Not sure what have gone wrong

    Regards,

    #21164
    InvYor
    Participant

    Are you using the theme version Daniel provided in response #21094?

    After that I’m not too sure (if you got one previous in the thread it may not be the most recent one which was doing the thing you mentioned above. Would try deleting the theme folder all together and reuploading the one from 21094 then try the save button. It should hopefully allow you to add the sidebars then you’ll have to repeat the process for adding the sidebars. Note that the save button doesn’t actually save any of the position settings found below the add sidebar area.

    #21165
    bernard
    Participant

    Yes, I totally deleted the older version from the folder. Then uploaded the zip file from Daniel (21094). use cpanel, upload, unzipped. However, it is still the same as before. very frustrating.

    I had followed the instructions in the theme documentations totally to create the static homepage. Because of this issue, I am stuck. Cannot proceed beyond the first few steps i.e. creating multi-columns/ sidebars.

    Hoping to get a solution soon.

    #21166
    InvYor
    Participant

    Hopefully we hear something soon. I’ve been able to go live with my site but would like to get a bug free version to ensure it doesn’t all of a sudden go haywire with my css fixes. Good luck!

    #21170
    bernard
    Participant

    Hi,

    I just discovered the following error message when I press ” save settings” at under the Sidebar tab.


    Warning: Invalid argument supplied for foreach() in /home/bernardy/public_html/wp-content/themes/enlightenment/core/admin/unlimited-sidebars.php on line 310
    Skip to main content
    Skip to toolbar

    I have appended below the codes from the “unlimited-sidebars.php” file, around line # 310 (where the error is supposed to be), hope someone can help to pinpoint where the error is:

    if( ! isset( $_GET[‘sidebar’] ) ) {
    add_settings_section(
    ‘sidebar_locations’, // Unique identifier for the settings section
    __( ‘Sidebar Locations’, ‘enlightenment’ ), // Section title
    ‘__return_false’, // Section callback (we don’t want anything)
    ‘enlightenment_theme_options’ // Menu slug, used to uniquely identify the page
    );
    add_settings_field(
    ‘select_template’, // Unique identifier for the field for this section
    __( ‘Select Template to Edit’, ‘enlightenment’ ), // Setting field label
    ‘enlightenment_unlimited_sidebars_select_template’, // Function that renders the settings field
    ‘enlightenment_theme_options’, // Menu slug, used to uniquely identify the page
    ‘sidebar_locations’, // Settings section. Same as the first argument in the add_settings_section() above
    array(
    ‘name’ => ‘select_template’,
    ‘class’ => ‘select-template’,
    ‘value’ => enlightenment_unlimited_sidebars_current_template(),
    )
    );
    $locations = enlightenment_sidebar_locations();
    $template = enlightenment_unlimited_sidebars_current_template();
    foreach( $locations[$template] as $location => $sidebar ) {
    add_settings_field(
    ‘edit_sidebar_location_’ . $location, // Unique identifier for the field for this section
    $sidebar[‘name’], // Setting field label
    ‘enlightenment_edit_sidebar_location’, // Function that renders the settings field
    ‘enlightenment_theme_options’, // Menu slug, used to uniquely identify the page
    ‘sidebar_locations’, // Settings section. Same as the first argument in the add_settings_section() above
    array(
    ‘name’ => ‘sidebar_locations[‘ . $template . ‘][‘ . $location . ‘]’,
    ‘value’ => $sidebar[‘sidebar’],
    ‘description’ => ”,

    Thanks and regards,

    Bernard

    #21171
    bernard
    Participant

    Just highlighting in bold the exact line # 310 below:

    if( ! isset( $_GET[‘sidebar’] ) ) {
    add_settings_section(
    ‘sidebar_locations’, // Unique identifier for the settings section
    __( ‘Sidebar Locations’, ‘enlightenment’ ), // Section title
    ‘__return_false’, // Section callback (we don’t want anything)
    ‘enlightenment_theme_options’ // Menu slug, used to uniquely identify the page
    );
    add_settings_field(
    ‘select_template’, // Unique identifier for the field for this section
    __( ‘Select Template to Edit’, ‘enlightenment’ ), // Setting field label
    ‘enlightenment_unlimited_sidebars_select_template’, // Function that renders the settings field
    ‘enlightenment_theme_options’, // Menu slug, used to uniquely identify the page
    ‘sidebar_locations’, // Settings section. Same as the first argument in the add_settings_section() above
    array(
    ‘name’ => ‘select_template’,
    ‘class’ => ‘select-template’,
    ‘value’ => enlightenment_unlimited_sidebars_current_template(),
    )
    );
    $locations = enlightenment_sidebar_locations();
    $template = enlightenment_unlimited_sidebars_current_template();
    foreach( $locations[$template] as $location => $sidebar ) {
    add_settings_field(
    ‘edit_sidebar_location_’ . $location, // Unique identifier for the field for this section
    $sidebar[‘name’], // Setting field label
    ‘enlightenment_edit_sidebar_location’, // Function that renders the settings field
    ‘enlightenment_theme_options’, // Menu slug, used to uniquely identify the page
    ‘sidebar_locations’, // Settings section. Same as the first argument in the add_settings_section() above
    array(
    ‘name’ => ‘sidebar_locations[‘ . $template . ‘][‘ . $location . ‘]’,
    ‘value’ => $sidebar[‘sidebar’],
    ‘description’ => ”,

    #21216
    Daniel Tara
    Keymaster

    These issues have been fixed in version 1.1.3, until the update synchronized with the WordPress Theme Directory you can download the new version from here.

    #21217
    Antorinia
    Participant

    1.1.3, after i changed one of my sidebars, home full scrn crushed to the ground
    all the settings for this sidebar were deleted and for now my slider have white border for a some reason

    #21224
    bernard
    Participant

    Thank you very much, Daniel. Your latest release of 1.1.3 has solved the sidebar problem.

    Much appreciated.

    Bernard

    #21225
    bo-oz
    Participant

    So how is 1.1.3 holding up? I’m not so eager to update after 1.1.2… Can anyone share some experiences? Is it safe to update my client site to 1.1.3?

    • This reply was modified 8 years, 11 months ago by bo-oz.
    #21290
    UnD3Rd0g
    Participant

    Short information about the 1.1.3 update. It seems the issue with the re-appearing / resetting sidebar titles and descriptions is fixed.

    BUT there is still the issue that the transparent checkboxes are getting reset for all sidebars after changing it for a single sidebar.

    Other than that I have not discovered any issue with the sidebars.

Viewing 15 posts - 46 through 60 (of 68 total)

You must be logged in to reply to this topic.