Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,321 through 1,335 (of 2,006 total)
  • Author
    Search Results
  • #49839
    MaryMary
    Participant
    • Topics: 13
    • Replies: 14
    • Total: 27
    Member since: May 27, 2016

    Hi Shri,
    I added the above code in the custom CSS box and did not fix the issue.
    Please check this contact page link http://www.aimtas.com/index.php/contact/ you so know what I mean.
    What we want are the following:
    1. align the email field box under your name field box;
    2. make contact form background white and text black;
    3. And of course, box label aligning the box. Please check this contact form in this website http://www.adayatthecreek.com.au/contact-us/ so you know what we are looking at for aimtas.com contact form

    Looking forward to hear from you.

    Thank you,
    Mary

    #49687
    AzzouziAzzouzi
    Participant
    Member since: October 10, 2016

    Hello, when i use the phone number in the header i see that email is not alligned anymore
    and how do i change the footer background image ? on footer.php ?

    thank youuu

    #49510
    EelkeEelke
    Participant
    • Topics: 9
    • Replies: 17
    • Total: 26
    Member since: December 11, 2015

    I can’t find the Page-box.php. I have been looking in WP editor. My theme is Naturo Pro.

    #49422
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31304
    • Total: 31304
    Member since: August 16, 2013

    Hi Suzanne,

    Kindly go to inc/custom-function.php and change it from there.

    Regards,
    Dave

    #49392
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31304
    • Total: 31304
    Member since: August 16, 2013

    Hi Kamil,

    You have to change the code in header.php

    Regards,
    Dave

    #48843
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31304
    • Total: 31304
    Member since: August 16, 2013

    Hi Vanessa,

    Yes you can use 2 column shortcode in footer widgets but you have to use shortcode within this code:

    <?php echo do_shortcode( 'Paste your shortcode here' ); ?>

    Regards,
    Dave

    #48832
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31304
    • Total: 31304
    Member since: August 16, 2013

    Hi Eelke,

    Kindly go to Page-box.php and change the read more from there.

    Regards,
    Dave

    #48803

    In reply to: HandyMan Pro Theme

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31304
    • Total: 31304
    Member since: August 16, 2013

    Hi John,

    Kindly go to Appearance>>Theme Option>>Basic Setting>>Custom CSS Box

    Add this code there:

    .phone-no strong{color:#d61919 !important;}

    For the menu we need to change some code in header.php and manage it using css.

    Regards,
    Dave

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31304
    • Total: 31304
    Member since: August 16, 2013

    Hi Kuan,

    You didn’t gave us permission to edit in core files.

    Kindly go to page-box.php and replace the entire code with this code:

    <?php if ( is_home() || is_front_page() ) { ?>      
            
    <section class="menu_page featuresbg" id="wrapone" <?php if( of_get_option('hideservicessec', true) != '' ) { ?>style="display:none"<?php } ?>>
    <div class="container">
            <div class="services-wrap">
            <?php
    			$boxArr = array();
    			   if( of_get_option('box1',true) != '' ){
    				$boxArr[] = of_get_option('box1',false);
    			   }
    			   if( of_get_option('box2',true) != '' ){
    				$boxArr[] = of_get_option('box2',false);
    			   }
    			   if( of_get_option('box3',true) != '' ){
    				$boxArr[] = of_get_option('box3',false);
    			   }
    			   if( of_get_option('box4',true) != '' ){
    				$boxArr[] = of_get_option('box4',false);
    			   }
    			   if( of_get_option('box5',true) != '' ){
    				$boxArr[] = of_get_option('box5',false);
    			   }
    			   if( of_get_option('box6',true) != '' ){
    				$boxArr[] = of_get_option('box6',false);
    			   }
    			
    			if (!array_filter($boxArr)) {
    			for($fx=1; $fx<=4; $fx++) {
    			?>
     
                <div class="four_column <?php if($fx % 4 == 0) { echo "last_column"; } ?>">
                <a href="<?php esc_url('#');?>">
                <img src="<?php echo get_template_directory_uri(); ?>/images/icon<?php echo $fx; ?>.png">
                <h3><?php _e('Page Title','skt-naturo');?> <?php echo $fx; ?></h3>
                <p><?php _e('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas imperdiet ex at mauris varius interdum. Fusce mattis gravida libero, nec sollicitudin ad ti ku.','skt-naturo');?></p>
                <p class="ReadMore"><?php echo of_get_option('pagereadmoretext'); ?></p>
            </a>
            </div>
            
    			<?php 
    			} 
    			} else {
    				$box_column = array('no_column','one_column','two_column','three_column','four_column','five_column','six_column');
    				$fx = 1;
    				$queryvar = new wp_query(array('post_type' => 'page', 'post__in' => $boxArr, 'posts_per_page' => 6, 'orderby' => 'post__in' ));
    				while( $queryvar->have_posts() ) : $queryvar->the_post(); ?> 
                        <div class="four_column <?php echo $box_column[count($boxArr)]; ?> <?php if($fx % count($boxArr) == 0) { echo "last_column"; } ?>">
                        <a href="<?php the_permalink(); ?>">
                       <?php $boximage = of_get_option('boximage'.$fx,true); ?>
                       <?php if( !empty($boximage) ) { ?>
                       		<div class="page_column_thumb"><img alt="" src="<?php echo esc_url( of_get_option( 'boximage'.$fx, true )); ?>" / ></div>
                       <?php } ?>
                        <h3><?php the_title(); ?></h3>
                     	<p><?php echo wp_trim_words( get_the_content(), of_get_option('pagecontentlimit'), '' ); ?></p>
                        <p class="ReadMore"><?php echo of_get_option('pagereadmoretext'); ?></p>
                        <div class="clear"></div>
                        </a>
                       </div>
                 <?php 
    			 $fx++; 
    			 endwhile;
    			 wp_reset_query();
    			 }
    			 ?>
            
            
            </div><!-- .services-wrap-->
        <div class="clear"></div>
        </div><!-- .container -->
    </section>
    
    <?php } ?>

    Regards,
    Dave

    #48590

    In reply to: Allow HTML in Headline

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    HTML can be added in any code of PHP file so yes you can.

    Regards,
    Shri

    #48578

    In reply to: Theme banner

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31304
    • Total: 31304
    Member since: August 16, 2013

    Hi Lawrence,

    I have added a code in header.php

    Regards,
    Dave

    #48576

    In reply to: HandyMan Pro Theme

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31304
    • Total: 31304
    Member since: August 16, 2013

    Hi John,

    1) Kindly go to header.php and add your html code for phone number there.

    2) Kindly go to Appearance>>Theme Option>>Basic Setting>>Custom CSS Box

    Add this code there:

    iframe{display:none;}

    Regards,
    Dave

    #48550
    LorenzoLorenzo
    Member
    • Topics: 8
    • Replies: 18
    • Total: 26
    Member since: February 26, 2016

    I solved myself the quotation marks problem (i removed from core-functions.php).
    The last problem i have with this theme is the responsive behaviour with smartphone.
    the responsive adaptation is ok but not in the footer. In the footer the column are right cutted. Can you solve this please?

    #48431
    AaronAaron
    Participant
    • Topics: 14
    • Replies: 19
    • Total: 33
    Member since: May 4, 2016

    Example of errors thrown:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘loop_columns’ not found or invalid function name in /home/autocr7/public_html/wp-includes/plugin.php on line 235

    Warning: Division by zero in /home/autocr7/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 250

    Warning: Division by zero in /home/autocr7/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 252
    class=”post-623 product type-product status-publish has-post-thumbnail product_cat-truck-bodies instock shipping-taxable product-type-simple”>

    #48393
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31304
    • Total: 31304
    Member since: August 16, 2013

    Hi Barbora,

    Kindly go to header.php and remove this code

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    Regards,
    Dave

Viewing 15 results - 1,321 through 1,335 (of 2,006 total)