Forum Replies Created

Viewing 15 replies - 1 through 15 (of 29 total)
  • Inserting this code did nothing to help me… is there any update on this?

    Thread Starter gmisses

    (@gmisses)

    Worked like a charm! Thanks for your help!!

    Thread Starter gmisses

    (@gmisses)

    I did that. It’s not the overlay… my site is not live yet so please let me know a good time and I’ll make it live so you can have a look.

    Thread Starter gmisses

    (@gmisses)

    I tried to add your files to my child theme and it broke my child theme ??

    Thread Starter gmisses

    (@gmisses)

    Now it says:

    //Unregister the Product widget and register it from the child theme function moesia_child_widgets() { unregister_widget( ‘Moesia_Products’ ); register_widget( ‘Moesia_Products_New’ ); } add_action( ‘widgets_init’, ‘moesia_child_widgets’, 99 ); //Load the new widget require get_stylesheet_directory() . “/widgets/fp-products-new.php”;
    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/jesgom6/thetipsybrushchicago.com/wp-content/themes/Moesia-CHILD/functions.php:8) in /home/jesgom6/thetipsybrushchicago.com/wp-content/plugins/ninja-forms/ninja-forms.php on line 653

    Warning: Cannot modify header information – headers already sent by (output started at /home/jesgom6/thetipsybrushchicago.com/wp-content/themes/Moesia-CHILD/functions.php:8) in /home/jesgom6/thetipsybrushchicago.com/wp-admin/post.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /home/jesgom6/thetipsybrushchicago.com/wp-content/themes/Moesia-CHILD/functions.php:8) in /home/jesgom6/thetipsybrushchicago.com/wp-includes/pluggable.php on line 1196

    Thread Starter gmisses

    (@gmisses)

    I’m still getting the same thing at the top of my site… I don’t understand.

    Thread Starter gmisses

    (@gmisses)

    This worked, I think… but due to my other issue (trying to unregister_widget) I can’t scroll down to see the whole page… ??

    Thread Starter gmisses

    (@gmisses)

    @dimikjones and @vladff
    I have read through this post: https://athemes.com/forums/search/unregister_widget/ several times. I went to the end and followed these instructions:
    …add to your child theme functions.php file:

    //Unregister the services widget and register it from the child theme
    function moesia_child_widgets() {
    	unregister_widget( 'Moesia_Services' );
    	register_widget( 'Moesia_Products' );
    }
    add_action( 'widgets_init', 'moesia_child_widgets', 99 );
    //Load the new widget
    require get_stylesheet_directory() . "/widgets/fp-products.php";

    Then I created a widgets folder in your child theme, copy fp-services.php in it and change its name to fp-products.php;
    deleted this line: $content_html .= '<div class="service-desc wow fadeInUp">' . get_the_content() . '</div>';
    And lastly went back into my new fp-products.php file and switched the word services to products the first two rows for Moesia_Service Change services to products in both of them.

    Then I get this at the top of my site: //Unregister the services widget and register it from the child theme function moesia_child_widgets() { unregister_widget( ‘Moesia_Services’ ); register_widget( ‘Moesia_Products’ ); } add_action( ‘widgets_init’, ‘moesia_child_widgets’, 99 ); //Load the new widget require get_stylesheet_directory() . “/widgets/fp-products.php”;
    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/jesgom6/thetipsybrushchicago.com/wp-content/themes/Moesia-CHILD/functions.php:8) in /home/jesgom6/thetipsybrushchicago.com/wp-content/plugins/ninja-forms/ninja-forms.php on line 653

    What did I do wrong?

    Thread Starter gmisses

    (@gmisses)

    Ok so I’m not looking to adjust the way the services look on the front page. I’m referring to how they appear on the actual “Our Services” page I created using the Services template. I want to keep the front pages as it currently is with just 3 services showing up in one row. But on the actual “Our Services” page, I would like there to be 2 rows, 2 services per row OR 4 rows, 1 service per row.

    Thread Starter gmisses

    (@gmisses)

    This post didn’t help me, can you explain how I go about using unregister_widget in this case pretty please???

    Thread Starter gmisses

    (@gmisses)

    I followed dimikjones instructions and went to theme folder>widgets>fp.services.php the changed `

    <div class=”service col-md-4 col-sm-6 col-xs-6″>`
    to
    <div class="service col-md-6 col-sm-6 col-xs-6">

    But nothing happened. I’m not talking about how everything appears in the services widget on the front page. On the front page, I have it set up so only 3 services will show up and that is fine as is. I’m referring to the actual “Our Services” page that shows all of the services offered.

    Thread Starter gmisses

    (@gmisses)

    And I changed it in the parent theme and it did nothing, I still have 3 services in one row and 1 service in the other row.

    Thread Starter gmisses

    (@gmisses)

    Ok but I was told that widgets don’t get picked up from child themes as they’re not part of the hierarchy. So how do I go about unregistering the widget and to register my copy of the widget?

    Thread Starter gmisses

    (@gmisses)

    So I created a child theme and created the fp-services.php file. Duplicated the original file from the parent theme and just deleted that one line:
    $content_html .= '<div class="service-desc wow fadeInUp">' . get_the_content() . '</div>';
    It worked lovely in the actual parent theme but it’s not working in the child theme at all… am I missing a step?

    Thread Starter gmisses

    (@gmisses)

    You’re wonderful! Thank you!

Viewing 15 replies - 1 through 15 (of 29 total)