Submit Your Article Forum Rules

Results 1 to 5 of 5

Thread: Wordpress plugin issue

Hybrid View

  1. #1
    Junior Member
    Join Date
    Apr 2012
    Posts
    2

    Unhappy Wordpress plugin issue

    Hello guys

    on my website wordpress installed and every thing running very well but last week i update my theme and now theme has default pretty photo function and iam using some plugins Lightbox Evolution and fancy gallery now the problem is when i activate lightbox the gallery doesn't show anything on page when i deactivate lightbox the gallery works very well ... please help me to solve this issue ..

    Thank you
    if this is wrong section please move it to right ....

  2. #2
    Junior Member
    Join Date
    Apr 2010
    Posts
    10
    It seems there is an incompatibility between the lightbox, the gallery and the theme itself.
    I supose the plugin creators could give you more hints, since I suppose it's a core problem.

  3. The following user agrees with infinity79:
  4. #3
    Junior Member
    Join Date
    Apr 2012
    Posts
    2
    so how can i fix this issue i think if i remove prettyphoto from theme then every thing works fine ?
    Quote Originally Posted by infinity79 View Post
    It seems there is an incompatibility between the lightbox, the gallery and the theme itself.
    I supose the plugin creators could give you more hints, since I suppose it's a core problem.

  5. #4
    Member
    Join Date
    Jan 2011
    Location
    Live in Northern Ireland but also work throughout Ireland, the UK and internationally
    Posts
    38
    One quick point plugins can increase the possibility of hacking etc, so ensure you keep updating as much as possible.
    For the most up to date ecommerce solutions and Ecommerce web design visit my website. The Ecommerce Belfast website specialists. I am currently designing a new bedroom furniture website and doing SEO on the domain prior to launch - already on page 1 for their keywords 'cheap bedroom furniture' in the UK.

  6. #5
    Senior Member Optic's Avatar
    Join Date
    Aug 2010
    Location
    Spokane, Wa
    Posts
    184
    If you are finding that a script you don't need is being enqueued and causing confilcts, you can deregister it.

    See the codex here - http://codex.wordpress.org/Function_...egister_script

    Find the line that is registering it in the theme or plugin. You'll see something like `wp_register_script` or 'wp_enqueue_script', along with the name of the script as an argument. This will usually be in a function that is used as a callback within an action hook.

    Here is the code I use to register Modernizr in my framework:

    Code:
    wp_enqueue_script(
        'modernizr', // < -- this is the name
        get_template_directory_uri() .
        '/includes/template/js/modernizr.min.js'
    );
    Once you have the name of the script, you can deregister it from a new plugin file or in your theme/child theme functions file. You need to do this from the `wp_enqueue_scripts` action, preferably with a late priority, like so.

    Code:
    add_action( 'wp_enqueue_scripts', function() { wp_deregister_script( 'SCRIPT_NAME' ); }, 999 );


    Quote Originally Posted by Ecommerce web design View Post
    One quick point plugins can increase the possibility of hacking etc, so ensure you keep updating as much as possible.
    Plugins don't increast the possibility of hacking. Poorly written plugins ( and themes ) increase the chance of hacking.
    I build custom WordPress themes and plugins with love, and occasionally post on my stupid blog about related topics. Contact me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •