Adding custom sidebars

Home Forums Gillion Theme Adding custom sidebars

Home Forums Gillion Theme Adding custom sidebars

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • kscott
    Participant

    Hello,

     

    I’m trying to add custom sidebars into the theme with the same IDs that I’m using with another theme so that when I transfer to this new theme, the references in other areas of wordpress will still honor the same sidebar. I can’t seem to do this though. I’ve used the following:

     

    function my_custom_sidebar() {
    register_sidebar(
    array (
    ‘name’ => __( ‘Affiliate Disclosure’, ‘your-theme-domain’ ),
    ‘id’ => ‘gp-affiliate-disclosure’,
    ‘description’ => __( ‘Affiliate disclosure sidebar for top of posts’, ‘your-theme-domain’ ),
    ‘before_widget’ => ‘<div class=”widget-content”>’,
    ‘after_widget’ => “</div>”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    )
    );
    }
    add_action( ‘widgets_init’, ‘my_custom_sidebar’ );

     

    Where, gp-affiliate-disclosure is the id that’s referenced in other areas of my site.

     

    Could you help and provide the function(s) to add multiple custom sidebars to the functions.php of the gillion child theme so that I can easily create and reference the same sidebars as I do today with my other theme?

     

    Thanks

     

     

    Hi @kscott,

     

    I hope you are well today and thank you for your question.

     

    Developing custom code for custom functionality is beyond the scope of support that we provide here.

     

    If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Shufflehound recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5

     

    Best regards,
    Shufflehound team

Viewing 2 posts - 1 through 2 (of 2 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form