Forum Replies Created
-
Hey Kenneth,
That was a great explanation and easy to follow. But I am using a child theme. By the way I use Exec-PHP Plugin – works great for me.
Here is the tricky part. How do I get to have the widget display on only one specific page.
For example: If I want to have the widget display only on the “About Us” page and nowhere else?
Many Thanks
Hi Prassana,
It worked perfectly. I only had to delete the last ” } ” before the “?>”
Great help
Manny Thanks!
Hi, Prasanna,
I have not yet tried your lates suggestion. It looks like some of the code you posted above might be missing. Would you please confirm if it is correct.
However, when I pasted the code in my functions.php file it caused errors with the header. When I removed `add_action(‘wp_footer’, ‘graphene_scrollable’);
}` it stopped giving errors in relation to the header but of course the slider still doesn’t work.
Here is the entire content of my child’s theme functions.php file:
<?php
function graphene_display_slider(){
if (is_home())
graphene_slider();
?>
<?php
function graphene_custom_header_width(){
return 990;
}
function graphene_custom_header_height(){
return 165;
}
add_filter('graphene_header_image_width', 'graphene_custom_header_width');
add_filter('graphene_header_image_height', 'graphene_custom_header_height');
}
?>Many thanks
Hi There I have the same problem. The slider does not slide in my Child theme.
I have this code in my child theme’s functions.php file:
<?php
function graphene_display_slider(){
if (is_home())
graphene_slider();
add_action('wp_footer', 'graphene_scrollable');
}
?>If I try to manually make the slide slide by clicking on one of the dots at the bottom right corner of the slider it makes no differens except in the url appears “/#” like this -> xxxx.com/xxxx/#
What is missing or is wrong?
Thank you
Brilliant,
Thank you Syahir.
I am trying the second code. Will let you all guys know if the tag pages got indexed
“arczer”,
This is a great idea. Hiding the tags will make the page look much better and still have the benefit of tag pages being indexed.
Does anyone know what CSS code do we use to make the tags invisible on the page but keep the codes visible for the search engines and being indexed?
Thanx
“kbinghii”,
I simply do not write anything in the title space in the widgets and the blue header bars above the widgets in the columns do not show at all.
Hope it works for you too
Hi Kim,
I tried using the tutorial given here http://www.tizag.com/htmlT/htmlbackground.php
but it does not work.
It may be OK for a simple table but when I try using it to set up the background of one of the sidebar widgets it does not work. The background defaults to the sidebar overall settings (I guess).
Syahir, great you are adding this option for the next update.
Until then any suggestions how can I make it work now?
Thank you
Wow… Syahir this is awesome.
Works perfectly.
Your work and service is amazing. I will donate in the morning.
One last question:
How do I move the post to the top of the static home page. I would like that table image to go up high at the top close to the Nav.bar. What code do I need to change I tried many different options but I didn’t manage to find the correct part.
Many thanks
This is the entire function file in the child theme:
<?php
function graphene_custom_header_width(){
return 945;
}
function graphene_custom_header_height(){
return 160;
}
add_filter(‘graphene_header_image_width’, ‘graphene_custom_header_width’);
add_filter(‘graphene_header_image_height’, ‘graphene_custom_header_height’);
?>
<?php
function graphene_display_slider(){
if (is_home())
graphene_slider();
}
?>
function graphene_scrollable() {
$interval = (get_option(‘slider_speed’)) ? get_option(‘slider_speed’) : 7000;
?>
<!– Scrollable –>
<script type=”text/javascript”>
//<![CDATA[
jQuery(document).ready(function($){
$(function() {
// initialize scrollable
$(“#slider_root”).scrollable({circular: true}).navigator({
navi: “.slider_nav”,
naviItem: ‘a’,
activeClass: ‘active’
}).autoscroll({interval: <?php echo $interval; ?>});
});
});
//]]>
</script>
<!– #Scrollable –>
<?php
}
Viewing 10 posts - 1 through 10 (of 19 total)
- 1
- 2
