WordPress.org

Ready to get started?Download WordPress

Forums

Page Cornr
Need to apply to only one WP page (6 posts)

  1. elmalak
    Member
    Posted 3 years ago #

    hello,
    I love your plugin, but I need to apply it to only one page of my WordPress site, is that possible and how?

    Many thanks.

    http://wordpress.org/extend/plugins/page-cornr/

  2. lucianohpcv
    Member
    Plugin Author

    Posted 2 years ago #

    SORRY! I really don't visit this page. For future support, please send me an email hola AT luxiano DOT name.

    Replace add_action('wp_head', 'pagecornr'); at the end of pagecornr.php with

    function pagecornr_with_id(){
    		if(is_page(11)) {
    			pagecornr();
    		}
    	}
    
    add_action('wp_footer', 'pagecornr_with_id');

    Where 11 in is_page(11) is the page ID. If need it in a specific post (NO page), change is_page(11) to is_single(99), where 99 is the ID for your post.

  3. elmalak
    Member
    Posted 2 years ago #

    Thank you so much for replying to my question.

    I will give it a try and let you know how it works.

    Much appreciated.

  4. lucianohpcv
    Member
    Plugin Author

    Posted 2 years ago #

    Oh, SO SORRY, I make a mistake :S

    I meant: replace add_action('wp_footer', 'pagecornr');

    Sorry :S

  5. elmalak
    Member
    Posted 2 years ago #

    No problems, I noticed that and it's exactly what I did and it's working just fine.

    Many thanks for your help.

    elmalak

  6. elmalak
    Member
    Posted 2 years ago #

    One more thing if you don't mind;

    I wanted to know how can I increase or decrease the peel effect, do I need to edit the php file or the css file ?

    Many thanks,
    elmalak

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags