Support » Plugin: Full Screen Background Images » Responsive Support

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Konstantinos Kouratoras

    (@kouratoras)

    The images should be responsive, do you have a live url to check that?

    Thread Starter sanji41

    (@sanji41)

    Yes, here it is http://themes.sanjaykhemlani.com/rbp

    btw, how can I change the speed of transition? Can’t find it on plugin editor.

    Thanks!

    Thread Starter sanji41

    (@sanji41)

    Found it!

    For anyone that’s looking, it’s on full-screen-background-images/plugin.php

    Plugin Author Konstantinos Kouratoras

    (@kouratoras)

    It’s responsive for me. I resize the window, and the image is being resized accordingly. Isn’t that working fo you?

    Thread Starter sanji41

    (@sanji41)

    No it isn’t.

    Another thing, how can I exclude the homepage? Basically, the Client wanted the homepage to be static images, and the rest to have a slideshow background. Any ideas? Thanks in advance!

    Plugin Author Konstantinos Kouratoras

    (@kouratoras)

    Weird, your background is responsive to me.

    For homepage exclusion, just add a return statement in plugin_init function in plugin.php file. So, plugin_init would start as:

    public function plugin_init($content) {
    	if(is_home())
    		return;
    Thread Starter sanji41

    (@sanji41)

    Hi Konstantinos,

    Is this the entire code? I’ve try it but didn’t worked. Sorry, not really a good in programming 🙂

    Plugin Author Konstantinos Kouratoras

    (@kouratoras)

    Sorry for that. Insert code:

    if(is_home())
    		return;

    just after the line:

    public function plugin_init($content) {
    Thread Starter sanji41

    (@sanji41)

    Hi Konstantinos,

    What about exclude other pages except the homepage? Just wanted to give options.

    Appreciate the support!

    Plugin Author Konstantinos Kouratoras

    (@kouratoras)

    You can use the is_page WordPress function to check if you are in a specific page and do the same exclusion as in homepage.

    A review would be really appreciated. 🙂

    Thread Starter sanji41

    (@sanji41)

    Hi Again,

    sorry to bug you with this, but can’t seem to get this to work. I added the code like this `public function plugin_init($content) {
    //only in homepage
    if(is_home())
    return;`
    But the other pages are still showing the slideshow, any ideas?

    Plugin Author Konstantinos Kouratoras

    (@kouratoras)

    If you exclude only home page (with is_homepage function), then all other pages will show the slideshow. Which pages do you want to exclude?

    Thread Starter sanji41

    (@sanji41)

    I want the image slideshow only in the homepage, all the other pages will have a black background.

    How do I put the is_home function in the plugin file?

    Appreciate all the answers 🙂

    Plugin Author Konstantinos Kouratoras

    (@kouratoras)

    If you want to show the slideshow only in homepage, then you have to insert code:

    if(!is_home())
    		return;

    just after the line:

    public function plugin_init($content) {
    Plugin Author Konstantinos Kouratoras

    (@kouratoras)

    I assume the topic is solved.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Responsive Support’ is closed to new replies.