-
AuthorSearch Results
-
March 10, 2016 at 9:35 am #26297
Topic: Down arrow link to a section?
in forum All Other ThemesIs it possible to use the down arrow link to jump directly to a section?
I named the section ID 2
In the header.php I changed
<a href=”<?php echo get_site_url(); ?>/#services” class=”arrow-down”></a>
to
<a href=”<?php echo get_site_url(); ?>/#2” class=”arrow-down”></a>
but this will is not working.
March 10, 2016 at 7:36 am #26278In reply to: Yogi Theme -Service Boxes
Hi,
In the page-box.php i have added this code <?php the_content(); ?>
Regards,
DaveMarch 9, 2016 at 5:59 pm #26205In reply to: Remove slider from pages
(Sorry if this is off-topic; I just realized that the original post is about the SKT Biz/Corp theme. We have SKT BeFiT PRO theme.)
add this in […] custom CSS box:
#home_slider{display:none;}
There are a couple of problems with this:
- The selector is incorrect. The HTML is:
<div class="slider-main"> <div id="slider" class="nivoSlider"> <img src="..." />
So the correct selector would be
.slider-main
. - This is still not correct: it hides the slider not only on the blog (posts) page but also on the home page! To select only the <b>posts</b> page, you need to add an ancestor to the selector:
body.blog .slider-main
. - On the posts page, I want to hide <b>all</b> home-page items; this includes the four boxes, whose HTML begins with
<section id="wrapone" class="menu_page featuresbg">
. So I would need to add an alternate selector:body.blog .slider-main, body.blog section#wrapone
. - Even if the CSS successfully hide these items, I believe that the browser will still fetch the images and execute the JavaScript. (I could be wrong on this.) This adds an unnecessary burden to both the web server and browser. The PHP should really not generate the objects in the first place.
March 9, 2016 at 2:41 am #26073In reply to: How to translate read more button text
Are we talking about this file?
<?php
/**
* The template for displaying home page.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other ‘pages’ on your WordPress site will use a
* different template.
*
* @package SKT Nature One
*/get_header();
?><?php if ( ‘page’ == get_option( ‘show_on_front’ ) && ( ” != get_option( ‘page_for_posts’ ) ) && $wp_query->get_queried_object_id() == get_option( ‘page_for_posts’ ) ) : ?>
<div class=”content-area”>
<div class=”middle-align content_sidebar”>
<div class=”site-main” id=”sitemain”>
<?php
if ( have_posts() ) :
// Start the Loop.
while ( have_posts() ) : the_post();
/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
get_template_part( ‘content’, get_post_format() );endwhile;
// Previous/next post navigation.
skt_natureone_pagination();else :
// If no content, include the “No posts found” template.
get_template_part( ‘no-results’, ‘index’ );endif;
?>
</div>
<?php get_sidebar();?>
<div class=”clear”></div>
</div>
</div><?php else: ?>
<?php
if( of_get_option(‘numsection’, true) > 0 ) {
$numSections = esc_attr( of_get_option(‘numsection’, true) );
for( $s=1; $s<=$numSections; $s++ ){
$title = ( of_get_option(‘sectiontitle’.$s, true) != ” ) ? esc_html( of_get_option(‘sectiontitle’.$s, true) ) : ”;
$class = ( of_get_option(‘sectionclass’.$s, true) != ” ) ? esc_html( of_get_option(‘sectionclass’.$s, true) ) : ”;
$content = ( of_get_option(‘sectioncontent’.$s, true) != ” ) ? of_get_option(‘sectioncontent’.$s, true) : ”;
$bgcolor = ( of_get_option(‘sectionbgcolor’.$s, true) != ” ) ? of_get_option(‘sectionbgcolor’.$s, true) : ”;
$bgimage = ( of_get_option(‘sectionbgimage’.$s, true) != ” ) ? of_get_option(‘sectionbgimage’.$s, true) : ”;
?>
<section <?php if( $bgcolor || $bgimage ) { ?>style=”<?php echo ($bgcolor != ”) ? ‘background-color:’.$bgcolor.’; ‘ : ” ; echo ($bgimage != ”) ? ‘background-image:url(‘.$bgimage.’); background-repeat:no-repeat; background-position: center center; ‘ : ” ; ?>”<?php } ?> id=”section<?php echo $s;?>” class=”<?php echo ( of_get_option(‘menutitle’.$s, true) != ” ) ? ‘menu_page’ : ”;?>”>
<div class=”<?php echo ( ($s>22) && $class==”) ? ‘top-grey-box’ : $class; ?> middle-align”>
<?php if( $title != ” ) { ?>
<h2><span><?php echo $title; ?></span></h2>
<?php } ?>
<?php the_content_format( $content ); ?>
</div><!– middle-align –>
<div class=”clear”></div>
</section><div class=”clear”></div>
<?php
}
}
?><?php endif; ?>
<?php get_footer(); ?>March 8, 2016 at 4:53 pm #26024The PM Pro is an after issue. That was installed AFTER I submitted the ticket for the initial issue. Please disregard that portion of the post as I was only giving it to you as ANOTHER example and please work on the initial ticket issue.
Again, there is a warning message I go to ANYTIME I create a page using my Thrive Landing Page software.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘hook_custom_javascript’ not found or invalid function name in /homepages/2/d175379092/htdocs/ggg/wp-includes/plugin.php on line 525You can go to this page to see an example: http://gogoodguru.com/thank-you-sign-up/
I’m really hoping we can get this resolved. I currently have been directing clients to your site to choose themes from when building a site for them. However, the online marking portion of our service is becoming a big part of our business and will be a deal breaker if it can’t be resolved…which is a bummer because I love your templates.
Thank you and I appreciate your assistance on this.
March 8, 2016 at 6:51 am #25948In reply to: Responsive issues (theme: Healing Touch)
Hi Armin,
This issue was resolved from our end. Kindly check and confirm.
You can change read more button for translation.
For the blog read more kindly change it from “content.php” and custom-function.php
Regards,
BradMarch 8, 2016 at 5:37 am #25931In reply to: spa pro correct Appointment spelling
Hi Sherry,
Kindly go to your themes folder.
/wp-content/themes/skt-spa-pro/header.php
Regards,
BradMarch 7, 2016 at 11:27 pm #25907Topic: spa pro correct Appointment spelling
in forum All Other ThemesI asked about correcting the spelling of the ‘Appointment’ button on the homepage slider on our website: http://www.dbcharlotte.com. You said to Kindly go to header.php to edit Appointment text. Is this in the Appearance/Editor? I can’t find it there. Where do I edit the text?
Thank you.
March 7, 2016 at 8:57 pm #25892I wonder if there isnt something going on with the custom.php. Had another issue while installing the Paid Membership Pro Plugin.
I was able to activate the main plugin with no issues, I was then able to install the Email Templates Add On which defines our own custom PMPro HTML Email Templates. However, as soon as I installed Register Helper Add On that handles Custom fields, shortcodes, and other functions to help customize our Paid Memberships Pro checkout process. MY ENTIRE SITE BOMBED and gave the message below until I ftp into my server, added.old to the end of that plugin folder:Fatal error: Cannot redeclare str_lreplace() (previously declared in /homepages/2/d175379092/htdocs/foldernamehere/wp-content/plugins/pmpro-register-helper/pmpro-register-helper.php:1231) in /homepages/2/d175379092/htdocs/foldernamehere/wp-content/themes/skt-befit-pro/inc/custom-functions.php on line 241
March 7, 2016 at 12:50 pm #25835Hi Michael,
You have to edit category.php
Regards,
DaveMarch 7, 2016 at 12:18 pm #25827In reply to: design agency
Hi!
A BIG PROBLEM!
When I install a plug-in the site collapsed. I know it´s maybe a wordpress-support thing, but I don´t found any support. Anyway, I have tried to change the code from “false” to “true” and I have tried to change the problem trough phpmyadmin but it doesn´t work.
Can you please help me?Thanks!
/MalinMarch 7, 2016 at 10:07 am #25812In reply to: EMAIL COLLECTION
Hi,
You can kindly use newsletter plugins in WordPress or mailchimp plugin but that requires sign up with mailchimp.
You can search here: https://wordpress.org/plugins/search.php?q=newsletter
Regards,
ShriMarch 7, 2016 at 5:59 am #25785In reply to: How to translate read more button text
Hi Augustin,
Yes, you can change it from index.php
Regards,
BradMarch 4, 2016 at 11:56 am #25556In reply to: Footer widget /Contact widget
Hi Peter,
I have changed some code in /inc/custom-function.php
Regards,
BradMarch 4, 2016 at 11:24 am #25548In reply to: Translation problems
Ok. Still no news…
You should, at least, told me you don’t have time for now, instead of saying “tomorrow”, then nothing.I had to do the job myslef, and go inside the php files to translate. That is wrong.
For the other one :
Home >> skt_hotel\inc\custom-functions.php l.983
Read more >> skt_hotel\content.php l.25
No recent posts >> skt_hotel\inc\custom-functions.php l.703And for the form, it was in the plugin Contact Form 7 Parameters.
I’m waiting now for apologizes, and above all, an explanation of your silence, if you want me to show your themes to my clients again…
Very desappointed. - The selector is incorrect. The HTML is:
-
AuthorSearch Results
Search Results for 'php'
-
Search Results
-
Is it possible to use the down arrow link to jump directly to a section?
I named the section ID 2
In the header.php I changed
<a href=”<?php echo get_site_url(); ?>/#services” class=”arrow-down”></a>
to
<a href=”<?php echo get_site_url(); ?>/#2” class=”arrow-down”></a>
but this will is not working.
I asked about correcting the spelling of the ‘Appointment’ button on the homepage slider on our website: http://www.dbcharlotte.com. You said to Kindly go to header.php to edit Appointment text. Is this in the Appearance/Editor? I can’t find it there. Where do I edit the text?
Thank you.