• Resolved Jacques

    (@fr-mauricio)


    Hello,

    I last ClassiPress, I wish to have my widget dynamics theme.

    But Dynamic widget must call wp_head ().
    Even by checking the old method, I can not manage my widgets according to selected pages.

    How to enable or how to call wp_head ()?

    Thank you all for your help …

    https://wordpress.org/plugins/dynamic-widgets/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Qurl

    (@qurl)

    Please ask the theme developer where you can add the wp_head() call.

    Thread Starter Jacques

    (@fr-mauricio)

    Qurl thank you for your reply,

    I already write to the author of theme my child ( Mohsin of Themebound ) well know the theme “ClassiPress” and here it is said:
    The plugin “Dynamic Widgets” should work with ClassiPress / ClassiEstate combo out of the box. All themes call wp_head() function, a lot of the theme’s functionality needs that, it’s in wrapper.php in ClassiPress. May be you have not configured it well?

    I did not make any change in wrapper.php, here’s the original:

    <?php
    /**
     * Template wrapper.
     *
     * @package ClassiPress\Templates
     * @author  AppThemes
     * @since   ClassiPress 3.2
     */
    ?>
    <!DOCTYPE html>
    <!--[if lt IE 7 ]> <html class="ie6" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 7 ]>    <html class="ie7" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 8 ]>    <html class="ie8" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 9 ]>    <html class="ie9" <?php language_attributes(); ?>> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->
    
    <head>
    
    	<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
    	<link rel="profile" href="http://gmpg.org/xfn/11" />
    
    	<title><?php wp_title( '' ); ?></title>
    
    	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php echo appthemes_get_feed_url(); ?>" />
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    
    	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    	<meta name="viewport" content="width=device-width, initial-scale=1" />
    
    	<?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
    
    	<?php wp_head(); ?>
    
    </head>
    
    <body <?php body_class(); ?>>
    
    	<?php appthemes_before(); ?>
    
    	<div class="container">
    
    		<?php if ( $cp_options->debug_mode ) { ?><div class="debug"><h3><?php _e( 'Debug Mode On', APP_TD ); ?></h3><?php print_r( $wp_query->query_vars ); ?></div><?php } ?>
    
    		<?php appthemes_before_header(); ?>
    		<?php get_header( app_template_base() ); ?>
    		<?php appthemes_after_header(); ?>
    
    		<?php get_template_part( 'searchbar' ); ?>
    
    		<?php load_template( app_template_path() ); ?>
    
    		<?php appthemes_before_footer(); ?>
    		<?php get_footer( app_template_base() ); ?>
    		<?php appthemes_after_footer(); ?>
    
    	</div><!-- /container -->
    
    	<?php wp_footer(); ?>
    
    	<?php appthemes_after(); ?>
    
    </body>
    
    </html>

    I do not fully understand the coding, but I see that wp_head tag () is written above.
    So what configuration should I do?

    I understand that I take you some time, but I want your plugins with my theme, I am ready to make a good donation as soon as everything is ok

    Thank you for your support

    Thread Starter Jacques

    (@fr-mauricio)

    Another detail,

    When I parameter Dynamic Widgets with my pages, the top of the screen I have this error appears:

    I did some tested with your Dynamic Widgets plugins, it’s great, but it works a few times.

    At the top of the screen I have this error appears:
    : Invalid argument supplied for foreach() in /homepages/17/d5XXXXXXX0/htdocs/XXXXXXXXX/wp-content/plugins/dynamic-widgets/classes/dynwid_class.php on line 231

    and then when I click save and return here the mistake I:
    Warning: Invalid argument supplied for foreach() in /homepages/17/dXXXXXXXXX0/htdocs/XXXXXXXXX/wp-content/plugins/dynamic-widgets/classes/dynwid_class.php on line 231

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/17/dXXXXXXXXX0/htdocs/XXXXXXXXX/wp-content/plugins/dynamic-widgets/classes/dynwid_class.php:231) in /homepages/17/d576651900/htdocs/immobilier/wp-includes/pluggable.php on line 1196

    I hope you can help me out if problem
    MERCI

    Plugin Contributor Qurl

    (@qurl)

    Hmm… that’s a very weird point where WordPress is complaining. It might have to do with ClassiPress. I’ll look if I can do something about that.

    However, the warnings you see are not critical and should definitely not break the functionality of DW.

    Thread Starter Jacques

    (@fr-mauricio)

    Hello Qurl ,

    Thank you very much for taking time for the integration of your plugins “dynamic Widgets” with the Theme ClassiPress.

    I am convinced that your plugins will be in great demand on the theme ClassiPress because no dévellopeur has done nothing of the sort, I repeated your plugin is great, we can put any widget anywhere in the sidebar, it’s great!

    Your plugin is very useful for sites that traveling on wheels monetize advertising space to professionals by region, so by pages.

    There are other special ClassiPress plugins that can do that, but not in the area with sidebar widgets.

    Thread Starter Jacques

    (@fr-mauricio)

    One more detail, after a test:

    I took the plugins Themebound “DYNAMIC MULTI-LEVEL FIELDS PLUGIN” ,
    I tried to manage wanted a widget with the URL, With this URL:

    http://www.immo-maps.fr/?set_cp_country=FRANCE&set_cp_state=68%20-%20Haut-Rhin%20%28Alsace%29&set_cp_city&submit=voir%20les%20annonces%20%3E#038;set_cp_state=67+-+Bas-Rhin+%28Alsace%29&set_cp_city&submit=voir+les+annonces+%3E

    but it does not work.

    Is this normal?
    Normally a URL is a URL, it should work for any URL.

    I am wrong?

    I hope everything will work once you have found the solution.

    Plugin Contributor Qurl

    (@qurl)

    I agree, an URL is an URl. BUt when you’re not using any form of wildcards, it has to match exactly as it is. Because the URL you post here is doing some encoding, it might result in issues there.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Dynamic Widget et ClassiPress’ is closed to new replies.