zeshankhanbwp on "[Theme: Virtue] Slider revolution Responsive plugin php code only on front page"

ساخت وبلاگ

zeshankhanbwp
Member
Posted 20 hours ago #

Hi: every one i am using this plugin http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380 and want to display the php code of this plugin into my site for home page only just under the secondary menu but exactly dont know where to add the php code?
My Site zeeshannasir786.com
any help i will appreciate
thanks in advance
zeeshan

Hello!

In the slider revolution settings page, under Slider Settings, you should be able to fund the shortcode for the slider in 2. Slider Title and Shortcode.

with the Shortcode, you can copy and paste it anywhere on your site to call the Revolution Slider to your pages.

Give the shortcode a try and let me know if that works for you.

zeshankhanbwp
Member
Posted 12 hours ago #

Hi Kevin: this is the php code of Slider Revolution
<?php putRevSlider("home","homepage") ?>
I want to put this code after the header menu i deactivate the default sliders of the virtue theme. and want to put the slider revolution code to set the as homepage sliders.
i Put this code in the theme editor/header.php but nothing shows. also put this code in frontpage.php slider show beautifully but the slider in not in the right place.
I want to know where to put this code in virtue theme editor?
thanks
zeeshan

Hey,
I really suggest you use the shortcode for the slider. Not the php code. You can see the shortcode in your slider settings. then just add that into the page content.

If you are going to place into the code and only on the front page you need to add to the front-page.php file.

Kadence Themes

zeshankhanbwp
Member
Posted 59 minutes ago #

Hi: Kadence Themes thanks for great suggestion.
I am using the shortcode not the php code as you suggest. I put the shortcode [rev_slider courses] in front-page.php
shortcode is not working in my frontpage. It shows the shortcode after the menu not the slider.
shortcode working perfectly in my gallery page.
My gallery page link is below:
http://zeeshannasir786.com/gallery/
thanks
zeeshan

zeshankhanbwp
Member
Posted 3 minutes ago #

Sorry this is the php code forgive me.
I put this code in front-page.php <strong><?php putRevSlider("courses","homepage") ?></strong>
It works perfectly
My site link front page is given below:
http://zeeshannasir786.com
But there is some confusion want to discuss with you why u not suggest the php code: putRevSlider("courses","homepage") in front-page.php file but working perfectly.
shortcode: [rev_slider courses] working perfectly in my gallery page.
You are theme author and expert and provide such a great theme thanks so much.
but i am not even basic expert.
thanks
zeeshan

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 70 تاريخ : پنجشنبه 27 اسفند 1394 ساعت: 11:58