Plugin Directory

Changeset 1825376


Ignore:
Timestamp:
02/20/2018 03:09:31 PM (8 years ago)
Author:
riangraphics
Message:

fixing bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • book-now/trunk/book-now.php

    r1762752 r1825376  
    22/**
    33 * @package Book_Now
    4  * @version 1.3.8
     4 * @version 1.3.9
    55 */
    66/*
     
    99Description: This plugin adds a fixed call to action button to your site, with text and link to anywhere you want.
    1010Author: RianGraphics
    11 Version: 1.3.8
     11Version: 1.3.9
    1212Author URI: http://www.riangraphics.com/book-now/
    1313*/
     
    116116    $mytrue = get_option( 'rg_book_enable' );
    117117    $pageid = get_option( 'rg_page_id' );
     118    $truepgid = explode(',',$pageid);
    118119    $target = get_option( 'rg_target' );
    119     if(!is_admin() && $mytrue == 1 && !is_page(array($pageid)) && !is_single(array($pageid))) {
     120    if(!is_admin() && $mytrue == 1 && !is_page($truepgid) && !is_single($truepgid)) {
    120121    echo "
    121122              <div id='rg-book'>
     
    179180    transform: none;
    180181    right: inherit;
     182    left: inherit;
    181183    width: 100%;
    182184    margin:0 auto;
Note: See TracChangeset for help on using the changeset viewer.