{"id":29947,"date":"2013-06-05T09:21:54","date_gmt":"2013-06-05T08:21:54","guid":{"rendered":"https:\/\/pl.wordpress.org\/support\/topic\/problem-slideshow-zdjecie-zastepuje-zdjecie\/"},"modified":"2016-08-05T21:56:39","modified_gmt":"2016-08-05T21:56:39","slug":"problem-slideshow-zdjecie-zastepuje-zdjecie","status":"closed","type":"topic","link":"https:\/\/pl.wordpress.org\/support\/topic\/problem-slideshow-zdjecie-zastepuje-zdjecie\/","title":{"rendered":"problem Slideshow, zdj\u0119cie zast\u0119puje zdj\u0119cie &#8230;"},"content":{"rendered":"<p>Witam was serdecznie<\/p>\n<p><strong>oto problem:<\/strong> Korzystam ze slideshow do\u0142\u0105czonego do motywu academica.<br \/>\nJedno zdj\u0119cie ga\u015bnie, przerwa , nast\u0119puje drugie zdj\u0119cie.<br \/>\nChcia\u0142bym to zmieni\u0107 aby jedno zdj\u0119cie przenika\u0142o drugie itd (alpha)<br \/>\n<strong>oto kod, czy mo\u017cna co\u015b zaradzi\u0107, dziekuje ?<\/strong><\/p>\n<pre><code>&lt;div id=&quot;homeGallery&quot;&gt;\n\n\t&lt;div class=&quot;wrap&quot;&gt;\n\n\t\t&lt;div id=&quot;showcase&quot;&gt;\n\n\t\t\t&lt;ul class=&quot;slides&quot;&gt;\n\n\t\t\t&lt;?php\n\t\t\t$loop = new WP_Query( array( &#039;post_type&#039; =&gt; &#039;slideshow&#039;, &#039;posts_per_page&#039; =&gt; option::get(&#039;slideshow_num&#039;) ) );\n\t\t\t$default_image = get_template_directory_uri() . &#039;\/images\/x.gif&#039;;\n\n\t\t\twhile ( $loop-&gt;have_posts() ) :\n\n\t\t\t\t$loop-&gt;the_post();\n\n\t\t\t\t?&gt;\n\t\t\t\t&lt;li class=&quot;slide&quot;&gt;\n\t\t\t\t&lt;?php\n\n\t\t\t\t$link = get_post_meta($post-&gt;ID, &#039;wpzoom_slide_url&#039;, true);\n\n\t\t\t\tif (strlen($link) &gt; 1) echo &#039;&lt;a href=&quot;&#039; . $link . &#039;&quot;&gt;&#039;;\n\n\t\t\t\tget_the_image( array( &#039;size&#039; =&gt; &#039;homepage-slider&#039;, &#039;width&#039; =&gt; 960, &#039;height&#039; =&gt; 190, &#039;default_image&#039; =&gt; $default_image, &#039;link_to_post&#039; =&gt; false, &#039;before&#039; =&gt; &#039;&#039;, &#039;after&#039; =&gt; &#039;&#039; ) );\n\n\t\t\t\tif (strlen($link) &gt; 1) echo &#039;&lt;\/a&gt;&#039;;\n\n\t\t\t\t?&gt;\n\n\t\t\t\t&lt;?php\n\n\t\t\tendwhile;\n\t\t\t?&gt;\n\n\t\t\t&lt;!-- end .slides --&gt;\n\n\t\t&lt;\/div&gt;&lt;!-- end #showcase --&gt;\n\n\t\t&lt;script type=&quot;text\/javascript&quot;&gt;\n\t\tjQuery(document).ready(function() {\n\n\t\t\t\tjQuery(&#039;#showcase&#039;).css({ display : &#039;block&#039; });\n\t\t\t\tjQuery(&quot;#showcase&quot;).slides({\n\t\t\t\tcontainer: &#039;slides&#039;,\n\t\t\t\tplay: &lt;?php if (option::get(&#039;featured_rotate&#039;) == &#039;on&#039;) { echo option::get(&#039;featured_interval&#039;); }  else { ?&gt;0&lt;?php } ?&gt;,\n\t\t\t\tslideSpeed: 1500,\n\t\t\t\tgeneratePagination: false,\n\t\t \t\tpause: 400,\n\t\t \t\teffect: &#039;fade&#039;,\n\t\t \t\tautoHeight: true,\n\t\t\t\thoverPause: true,\n\t\t\t\tpreload: true,\n\t\t\t\tpreloadImage: &#039;&lt;?php echo get_template_directory_uri(); ?&gt;\/images\/loading2.gif&#039;\n\t\t\t});\t\t \n\n\t\t});\n\t\t&lt;\/script&gt;\n\n\t&lt;\/div&gt;&lt;!-- end .wrap --&gt;\n\n&lt;\/div&gt;&lt;!-- end #homeGallery --&gt;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-29947","topic","type-topic","status-closed","hentry","topic-tag-przenikanie-zdjec","topic-tag-slider","topic-tag-slideshow"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/29947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/29947\/revisions"}],"wp:attachment":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=29947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}