Ramzihajaj
Forum Replies Created
-
So I’ve solved this. I figured out that this was only happening on custom templates. I then queried that issue and found that you have to use the_content() function to extract the content within your custom template and have shortcodes work. This is because the_content() parses the content in a manner that will make your shortcodes work.
Hey, Thanks for your reply. I’m using the latest version of the Pulgin (2.0.66.29). I think I’ve honed in on the issue as all the shotcodes input within the text editor do not work but when they are echoed in php they do. I have input the following lined in functions.php but to no avail.
add_filter('widget_text', 'do_shortcode'); add_filter( 'widget_text', 'shortcode_unautop');
Do you have any idea what else could be causing this?
Forum: Themes and Templates
In reply to: [Virtue] Uploading new fonts to the themeYeah it was a silly mistake on my behalf. Just out of interest is there any easy way so that a custom font can be uploaded into the typography drop down in the admin section?
Thanks
R
Forum: Themes and Templates
In reply to: [Virtue] Uploading new fonts to the themeHmm yeah I’m trying to override but no joy. I’ll have another go. Fonts I’m looking for are Gotham SSm a and Gotham SSm b. Would probably make more sense to be able to change the font from the backend anyway..
Thankyou.
Forum: Themes and Templates
In reply to: [Virtue] Animation on slider loadHey,
So I was just trying to create a fade in and out animation on page load but wanted to wait for the slider to load before doing so. I child themed the /templates/home/flex-slider.php file and then inserted my animation after the following:
jQuery('.flexslider').flexslider({ animation: "<?php echo $transtype ?>", animationSpeed: <?php echo $transtime ?>, slideshow: <?php echo $autoplay ?>, slideshowSpeed: <?php echo $pausetime ?>, smoothHeight: true, before: function(slider) { slider.removeClass('loading'); } });
Did the trick. Thanks again!
Forum: Themes and Templates
In reply to: [Virtue] Disabling mobile browserYour going IN! I’ll let ya know how it goes.
Thanks.
Forum: Themes and Templates
In reply to: [Virtue] Disabling mobile browserOK thanks! Where abouts is detect_mobile() function defined?
Ramzi
Forum: Themes and Templates
In reply to: [Virtue] Disabling mobile browserHey,
So it turns out that something else was causing the issue. However I still want to be able to edit so that the mobile slideshow is not displayed on tablets but only on phones? Is this possible?
Its displaying because a mobile browser is being detected right?
Would you be able in the right direct for changing this?
Thanks