{"id":1728,"date":"2023-11-03T09:55:43","date_gmt":"2023-11-03T09:55:43","guid":{"rendered":"https:\/\/wpshortcode.org\/?p=1728"},"modified":"2023-11-03T09:55:44","modified_gmt":"2023-11-03T09:55:44","slug":"wowslider","status":"publish","type":"post","link":"https:\/\/wpshortcode.org\/wowslider\/","title":{"rendered":"WOW Slider Shortcode"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Below, you&#8217;ll find a detailed guide on how to add the <strong>WOW Slider Shortcode<\/strong> to your WordPress website, including its <strong>parameters<\/strong>, <strong>examples<\/strong>, and <strong>PHP function code<\/strong>. Additionally, we&#8217;ll assist you with common issues that might cause the WOW Slider Plugin shortcode not to show or not to work correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before starting, here is an overview of the WOW Slider Plugin and the shortcodes it provides:<\/p>\n\n\n<p>    <div class=\"plugin-info-box\">\n        <div class=\"top-main\">\n            <!-- SVG Image -->\n            <div class=\"plugin-image\">\n                <img decoding=\"async\" src=\"https:\/\/s.w.org\/plugins\/geopattern-icon\/virtue-toolkit.svg\" alt=\"Plugin Icon\" \/>\n            <\/div>\n            \n            <div class=\"plugin-descriptive-part\">\n                <!-- Plugin Name with Link -->\n\n                    <a class=\"plugin-title\" href=\"https:\/\/wordpress.org\/plugins\/wowslider\" target=\"_blank\" rel=\"noopener\">\n                        WOW Slider                    <\/a>\n\n\n                <!-- Plugin Description -->\n                <p class=\"plugin-description\">\n                    &quot;WOW Slider is a dynamic WordPress plugin that allows you to create stunning, responsive image sliders. With its intuitive interface, wowslider makes it easy to enhance your site&#039;s visuals.&quot;                <\/p>\n            <\/div>\n        <\/div>\n\n        <!-- Rating and Additional Info -->\n        <div class=\"plugin-meta\">\n            <span class=\"plugin-rating\">\n                <span class='stars'>\u2605\u2605\u2605\u2729\u2729<\/span> (96)\n            <\/span>\n            <span class=\"plugin-active-installs\">\n                <strong>Active Installs<\/strong>: 5000+\n            <\/span>\n            <span class=\"plugin-tested\">\n                <strong>Tested with<\/strong>: 4.0.38            <\/span>\n            <span class=\"plugin-php-version\">\n                <strong>PHP Version<\/strong>: false            <\/span>\n        <\/div>\n\n        <!-- List of Included Shortcodes -->\n        <div class=\"plugin-shortcodes\">\n            <strong>Included Shortcodes:<\/strong>\n            <ul>\n                <li>[wowslider]<\/li>            <\/ul>\n        <\/div>\n    <\/div>\n    <\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">WOW Slider [wowslider] Shortcode<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Wowslider shortcode is a function that allows you to display a specific slider on your WordPress site. \n\n\n\nIt accepts an ID or title as a parameter. If the ID is given, it fetches the slider with the corresponding ID. If a title is provided, it fetches the slider with that title. If neither is provided, it returns an empty string. The function then outputs the slider content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Shortcode<\/strong>: <code>[wowslider]<\/code><\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Parameters<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a list of all possible wowslider shortcode parameters and attributes:<\/p>\n\n\n<ul>\n<li><code>id<\/code> &#8211; Unique identifier of the WOWSlider<\/li>\n<li><code>write<\/code> &#8211; Determines if the slider output is returned or echoed<\/li>\n<li><code>title<\/code> &#8211; Name of the WOWSlider to be displayed<\/li>\n<\/ul>\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Examples and Usage<\/h3>\n\n\n<p><strong>Basic example<\/strong> &#8211; The wowslider shortcode allows you to display a specific slider on your webpage by referencing its ID. The ID is a unique identifier assigned to each slider when it is created.<\/p>\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">[wowslider id=3 \/]<\/code><\/pre>\n\n\n<p><strong>Advanced examples<\/strong><\/p>\n<p>1. Display a slider by referencing its title. This is useful when you don&#8217;t know the ID of the slider or if the ID changes frequently. The title must be unique to ensure the correct slider is displayed.<\/p>\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">[wowslider title=\"My Awesome Slider\" \/]<\/code><\/pre>\n\n\n<p>2. Use the shortcode without any parameters. This will display the most recently created slider. This is useful when you want to always display the latest slider without having to update the shortcode each time a new slider is created.<\/p>\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">[wowslider \/]<\/code><\/pre>\n\n\n<p>3. Use the shortcode in conjunction with the &#8216;do_shortcode&#8217; function to display a slider within a template file. This is useful when you want to include a slider within a specific part of your website&#8217;s layout.<\/p>\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">&lt;?php echo do_shortcode('[wowslider id=3 \/]'); ?&gt;<\/code><\/pre>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">PHP Function Code<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In case you have difficulties debugging what causing issues with <code>[wowslider]<\/code> shortcode, check below the related PHP functions code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Shortcode line<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">add_shortcode('wowslider' , 'wowslider');<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Shortcode PHP function<\/strong>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; light: false; title: ; toolbar: true; notranslate\" title=\"\">\nfunction wowslider($id = 0, $write = true){\n    if (is_array($id)){ \/\/ shortcodes\n        $write = false;\n        if (isset($id&#91;&#039;id&#039;])) $id = (int)$id&#91;&#039;id&#039;];\n        else if (isset($id&#91;&#039;title&#039;])) $id = array(&#039;name&#039; =&gt; $id&#91;&#039;title&#039;]);\n        else return &#039;&#039;;\n    } else if (substr($id, 0, 6) == &#039;title:&#039;) $id = array(&#039;name&#039; =&gt; substr($id, 6));\n    else $id = (int)$id;\n    $out = wowslider_get($id);\n    if (!$write) return $out;\n    echo $out;\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Code file location<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">wowslider\/wowslider\/wowslider.php<\/code><\/pre>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you&#8217;ve learned how to embed the <strong>WOW Slider Plugin shortcode<\/strong>, understood the parameters, and seen code examples, it&#8217;s easy to use and debug any issue that might cause it to &#8216;not work&#8217;. If you still have difficulties with it, don&#8217;t hesitate to leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below, you&#8217;ll find a detailed guide on how to add the WOW Slider Shortcode to your WordPress website, including its parameters, examples, and PHP function code. Additionally, we&#8217;ll assist you with common issues that might cause the WOW Slider Plugin shortcode not to show or not to work correctly. Before starting, here is an overview [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"name":"WOW Slider","slug":"","version":"8.6","author":"<a href=\"http:\/\/wowslider.com\/\">WOWSlider.com<\/a>","icons":"","plugin_tags":"{\"banner\":\"banner\",\"gallery\":\"gallery\",\"image\":\"image\",\"image-slider\":\"image slider\",\"images\":\"images\"}","author_profile":"https:\/\/profiles.wordpress.org\/wowslidercom\/","requires":"3.1","tested":"4.0.38","requires_php":"false","rating":60,"num_ratings":96,"active_installs":5000,"downloaded":645300,"last_updated":"2015-10-27 6:44am GMT","added":"2012-11-08","homepage":"","short_description":"WOW Slider is a Wordpress slider with stunning visual effects and tons of professionally made templates.","description":"\"WOW Slider is a dynamic WordPress plugin that allows you to create stunning, responsive image sliders. With its intuitive interface, wowslider makes it easy to enhance your site's visuals.\"","shortcodes":"[\"wowslider\"]","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1728","post","type-post","status-publish","format-standard","hentry","category-plugins"],"_links":{"self":[{"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/posts\/1728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/comments?post=1728"}],"version-history":[{"count":1,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/posts\/1728\/revisions"}],"predecessor-version":[{"id":1873,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/posts\/1728\/revisions\/1873"}],"wp:attachment":[{"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/media?parent=1728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/categories?post=1728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/tags?post=1728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}