Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Terence Milbourn

    (@pubdirltd)

    It would be good if it was configurable on a page by page basis — perhaps using WordPress’s page meta?

    Plugin Author seramo

    (@seramo)

    Hi @pubdirltd

    change
    if ($button_status === 1 && !is_admin()
    with
    if ($button_status === 1 && !is_admin() && (!is_home() || !is_front_page()))
    in file
    simple-chat-button/includes/frontend.php line 10

    This feature will be added in the new version
    Thanks for your support

    Plugin Author seramo

    (@seramo)

    ( !is_front_page() && !is_home() )
    // Default homepage

    !is_front_page()
    // Static homepage

    !is_home()
    // Blog page

    Thread Starter Terence Milbourn

    (@pubdirltd)

    When I do this it crashes my site. I think I’ll wait for you to issue the update.

    Thread Starter Terence Milbourn

    (@pubdirltd)

    Error Details
    =============
    An error of type E_PARSE was caused in line 11 of the file /var/www/releases/1337/wp-content/plugins/simple-chat-button/includes/frontend.php. Error message: syntax error, unexpected ‘;’

    Plugin Author seramo

    (@seramo)

    check this code and replace in line 10

    replace
    if ($button_status === 1 && !is_admin()){
    with
    if ($button_status === 1 && !is_admin() && (!is_home() || !is_front_page())){

    This error may be due to not using “{” in your code

    Thread Starter Terence Milbourn

    (@pubdirltd)

    It crashed again. Thanks for trying to be so helpful and responsive, but I thinkl I am going to wait for the update.

    Plugin Author seramo

    (@seramo)

    Download the latest version (Version 1.4.0) and check this option

    Added meta box in post and page post type

    Thread Starter Terence Milbourn

    (@pubdirltd)

    Dude… you’re awesome!

    Plugin Author seramo

    (@seramo)

    Thanks for your kindness

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Not on homepage’ is closed to new replies.