Search and replace when moving WordPress site

Product:

All WonderPlugin Products

Question:

I am moving my WordPress development site to production. I did a search and replace in the WordPress database, but the images in the carousel slider still link to the old domain.

Continue reading

Add plugin js files to footer is not working

Product:

All WonderPlugin Products

Question:

In the plugin, settings menu, I checked the option "Add plugin js scripts to the footer", but the plugin js files are not added to the WordPress footer.

Answer:

The plugin is using WordPress hook wp_footer to print the plugin js scripts to the footer. wp_footer is one of the most essential theme hooks.

The problem is because your WordPress theme does not call the WordPress function wp_footer() and the hook is not enabled. Please contact your WordPress theme provider and ask for how to support the wp_footer hook.

For more details about wp_footer hook and wp_footer() function, please view: https://codex.wordpress.org/Plugin_API/Action_Reference/wp_footer and https://codex.wordpress.org/Function_Reference/wp_footer.

Add space after gallery and left align carousel

Product:

Question:

I am using WonderPlugin Portfolio Grid Gallery Commercial Version 6.0C and WordPress 4.4

I need to add space between your plugin and the text below. I've tried adding it in your skin css and in my style.css and have not been able to figure out how to do it either way. Can you tell me how to make that work?

Similarly, with WonderPlugin Carousel Commercial Version 7.0C, I need to move the vertical carousel to the left.

Answer:

1. In the post/page editor, switch to Text mode, then add the following HTML code after the gallery shortcode:

<p style="margin-top:100px;"></p>

The above code will add 100px gap after the gallery.

2. You could add the following HTML code around the carousel shortcode:

<div style="float:left;">
[wonderplugin_carousel id="2"]
</div>
<div style="clear:both;"></div>

WordPress Carousel Click Event

Product:

WonderPlugin Carousel

Question:

Is there anyway I can have the callback from every click on carousel item?

I want to trigger something after every click on carousel item.

Please advice.

Answer:

The carousel itself does not have an event.

But you can directly add click event to the items. For example:

jQuery(document).ready(function() {
  jQuery(".amazingcarousel-image img").click(function() {

    console.log("image clicked ");
  });

  jQuery(".amazingcarousel-hover-effect").click(function() {

    console.log("hover effect image clicked");
  });
});

The first code adds click event to the images, the second code adds click event to the hover effect image.

Display title at all times for WordPress Carousel Stylish skin

Question:

We are using your Stylish skin on one of our pages and we would like the titles to appear at all times.

Currently the titles of the slides only appear when you hover your mouse upon them.

Is there a code to make this happen?

Answer:
In step 3, Options tab, Skin CSS, find the following code:

#amazingcarousel-CAROUSELID .amazingcarousel-text {
	position:absolute;
	left: 0px;
	bottom: 0px;
	text-align:center;
	width: 100%;
	display: none;
}

And change the code display: none; to display: block;

#amazingcarousel-CAROUSELID .amazingcarousel-text {
	position:absolute;
	left: 0px;
	bottom: 0px;
	text-align:center;
	width: 100%;
	display: block;
}

The demo is as following:

Scroll image one by one in responsive WordPress Carousel Slider

Question:

In Responsive wordpress carousel slider , the three image scroll at a time. I want to scroll image one by one. https://www.wonderplugin.com/wordpress-carousel/

Answer:

In step 3, Options tab, Advanced Options, enter the following text to the Advanced Options field:

data-scrollmode="item"

The demo is as following:

Macro for link target in WordPress Carousel plugin

Question:

We are following the tutorial: https://www.wonderplugin.com/wordpress-carousel/add-weblink-in-wordpress-carousel-content-template/

Is there a macro for the link target field? There are somethings we want _self and there are somethings we want _blank.

Answer:

Please upgrade the plugin to Version 3.0. The version 3.0 adds a macro __TARGET__.

Then in step 3, Options tab, Content template, you can use the __TARGET__ for the link target value you defined for each slide in step 1.

<div class="amazingcarousel-image">__IMAGE__</div>
<div class="amazingcarousel-title">__TITLE__</div>
<p class="amazingcarousel-readmore"><a href="__HREF__" target="__TARGET__">Read More</a></p>

A demo is as following:

Moving WordPress hosting

Question:

We moved hosting for a website that we were using the WonderPlugin Carousel. The carousel information was lost in the transfer.

I still have access to the old server files. Is there a place where I can go and find the old carousel files and copy them over to the new host? Or am I screwed and have to rebuild all of them?

Answer:

The carousel information are saved in the WordPress database, the table name is wp_wonderplugin_carousel.

If you move your database together with your website files, then it's supposed to work fine.

Actually, WordPress is database driven. Most of your website content are saved in the WordPress database, for example, the posts and pages content. So if you move the hosting, you need to move the database together with the files.

You can view the official document about how to move WordPress: http://codex.wordpress.org/Moving_WordPress

Change Image Radius of WordPress Carousel

Question:

I need to change the picture radius value to get a perfect square…how do I have to get this. I am using the skin Simplicity.

Answer:

In Step 3, Options tab, click Skin Options button, then find the following code, and remove the red text:

#amazingcarousel-CAROUSELID .amazingcarousel-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}