Forum Replies Created

Viewing 15 replies - 76 through 90 (of 105 total)
  • Thread Starter Paul

    (@rhododendron)

    Ohh okies ??

    Thread Starter Paul

    (@rhododendron)

    @rocco

    I am getting the following error when I modify functions.php

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/rdo69150/public_html/wp-content/themes/customizr-child/functions.php on line 115

    Warning: Invalid argument supplied for foreach() in /home/rdo69150/public_html/wp-content/themes/customizr/inc/admin/class-admin-customize.php on line 249

    Warning: Cannot modify header information – headers already sent by (output started at /home/rdo69150/public_html/wp-content/themes/customizr-child/functions.php:115) in /home/rdo69150/public_html/wp-includes/pluggable.php on line 896

    Thread Starter Paul

    (@rhododendron)

    @rocco

    I am Overwhelmed! ?? Blush ?? Thank you so much !

    Thread Starter Paul

    (@rhododendron)

    Ohh. Thanks you. ??

    And thanks again for getting my all list of issues resolved. ??

    Am obliged.

    Thread Starter Paul

    (@rhododendron)

    I know I am quite bothering ! :'(

    Thanks for bearing with me! ??

    Thanks a lot!

    Thread Starter Paul

    (@rhododendron)

    Yeah .. Its fixed ??

    Woohhoooooo ! whoot whoot!

    You are awesome! ??

    By the way I have only one small question!

    customizr social link category there is no option to put tumblr ids. Is there any plan to put that? or is there anyway I can make some changes in my child theme and add it?

    Thread Starter Paul

    (@rhododendron)

    well I installed customizr.3.1.9

    it is still the same

    Thread Starter Paul

    (@rhododendron)

    Okay I am doing that right away

    but using index.php in a child theme is better?

    If so How do I do that?

    Thread Starter Paul

    (@rhododendron)

    Now I have enabled two sidebars. please have a look probably in a small view port

    Thread Starter Paul

    (@rhododendron)

    Yes

    Only two sidebars show up on the homepage.

    wait I’ll enable two sidebar mode.

    Thread Starter Paul

    (@rhododendron)

    function.php

    <?php
    /**
    * This is where you can copy and paste your functions !
    */
    
    add_filter( 'tc_slider_display', 'my_extras_after_slider' );
    function my_extras_after_slider($html) {
        $myextrahtml = '<div class="row-2">
            <div class="container">
    		<p></p>
            	<h3 style="text-align: center;">We make your world a beautiful place.</h3>
                <h3 style="text-align: center;">Signup for our Newsletter to be updated !</h3>
    		<p></p>
    	  <!-- Begin MailChimp Signup Form -->
    <form action="https://rhododendron.us3.list-manage.com/subscribe/post?u=48143a9a0332f71bfc1e2bc3e&id=7f56733d8a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate style="text-align: center;">
    	<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="[email protected]" required>
        <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
    	<div class="clear">
    	<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"style="text-align: center;">
    	</input>
    	</div>
    </form>
    </div>
    
    <!--End mc_embed_signup-->
            </div>';
        return $html . $myextrahtml;
    }
    
    add_filter( 'tc_colophon_right_block', 'my_colophon_right_block' );
    function my_colophon_right_block() {
        $use_child_base = true; //change this to true if your image is in child theme
        $base = ( $use_child_base ) ? TC_BASE_URL_CHILD : TC_BASE_URL;
        $path = 'img/ios7-arrow-back.png';
        $mybacktotop = sprintf('<div class="%1$s"><p class="pull-right"><a class="back-to-top" href="#">%2$s</a></p></div>',
                    apply_filters( 'tc_colophon_right_block_class', 'span4 backtop' ),
                    '<img src="'. $base . $path .'">'
                );
        return $mybacktotop;
    }
    
    add_filter('tc_show_post_metas' , 'display_metas_on_home');
    function display_metas_on_home( $bool ) {
        return  tc__f('__is_home') ? true : $bool;
    }
    
    /*Create a new widget area*/
    if (function_exists('register_sidebar')) {
        register_sidebar(array(
        'name' => 'Navbar Top Widget Area',
        'id' => 'extra-navbar-top-widget-area',
        'description' => 'A widget area above social block and tagline in header',
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => '</div>',
        'before_title' => '<h2 class="widget-title">',
        'after_title' => '</h2>'
        ));
    }
    /* Add the new widget area into navbar-inner before social-block*/
    
    add_action('__navbar', 'add_navbar_top_widget_area', 1);
    function add_navbar_top_widget_area(){
        if ( function_exists('dynamic_sidebar') ){
            ob_start();
            ?>
            <div id="navbar-top" class="widget-area span12">
                <?php dynamic_sidebar('Navbar Top Widget Area'); ?>
            </div>
            <?php
            $html = ob_get_contents();
            ob_end_clean();
            echo $html;
        }
    }
    
    /* Adding Pagination as numbers */
    add_action('wp_head', 'my_post_nav');
    function my_post_nav(){
        if ( !function_exists('wp_pagenavi') )
            return;
        remove_action( '__after_loop' , array( TC_post_navigation::$instance , 'tc_post_nav' ), 20 );
        add_action( '__after_loop', 'wp_pagenavi', 20 );
    }
    
    // Replaces the excerpt "more" text by a link
    function new_excerpt_more($more) {
           global $post;
    	return ' <a class="moretag btn btn-primary" href="'. get_permalink($post->ID) . '"> Read the full article ?</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');
    
    add_filter( 'the_author', 'my_the_author', 10, 1 );
    function my_the_author($author){
        if ( ! $author )
            return null;
        return sprintf('<span class=”vcard author”><span class=”fn”>%1$s</span></span>', $author);
    }
    Thread Starter Paul

    (@rhododendron)

    how to make it non-working?

    Thread Starter Paul

    (@rhododendron)

    i am using child theme and function.php

    version is 3.1.8

    Thread Starter Paul

    (@rhododendron)

    First one I marked resolved .. ?? already

    Second one

    I am sorry to scare you ??

    But is explained the real issue.

    Thread Starter Paul

    (@rhododendron)

    well I fixed the path issue now the png is in child theme. and am relaxed.

    thanks a lot:)

Viewing 15 replies - 76 through 90 (of 105 total)