Kod araçlarını kullanarak paylaşımda bulunursanız daha sağlıklı ve hızlı bir şekilde yanıt alabilirsiniz.

Herkese merhaba bizim bir wordpress temamız var bunda manşet haberde resimler haberlerin altında degilde sagında çıkıyor biz bunu nasıl alt kısımda gösteririz yada yerine başka manşet haber silider nasıl yerleştiriz yardımcı olabilirmisiniz bu php dosyası &lt;div id=&quot;slider2&quot;&gt; &lt;?php $recent = new WP_Query(&quot;meta_key=manset&amp;showposts=10&quot;); while($recent-&gt;have_posts : $recent-&gt;the_post ;?&gt; &lt;div class=&quot;contentdiv&quot;&gt; &lt;a href=&quot;&lt;?php the_permalink ?&gt;&quot; title=&quot;&lt;?php the_title ; ?&gt;&quot;&gt; &lt;?php if( get_post_meta ): ?&gt; &lt;img src=&quot;&lt;?php bloginfo ; ?&gt;/js/timthumb. php?src=&lt;?php echo get_post_meta ; ?&gt;&amp;h=270&amp;w=430&amp;zc=0&quot; alt=&quot;&lt;?php the_title ; ?&gt;&quot; /&gt; &lt;?php elseif ( has_post_thumbnail ) : ?&gt;&lt;?php the_post_thumbnail ; ?&gt;&lt;?php else: ?&gt; &lt;img src=&quot;&lt;?php bloginfo ; ?&gt;/js/timthumb. php?src=&lt;?php echo ilk_resmi_al ; ?&gt;&amp;h=270&amp;w=430&amp;zc=0&quot; alt=&quot;&lt;?php the_title ; ?&gt;&quot; /&gt; &lt;?php endif; ?&gt; &lt;/a&gt; &lt;div class=&quot;manset-sag&quot;&gt; &lt;div class=&quot;manset-baslik&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink ?&gt;&quot; title=&quot;&lt;?php the_title ; ?&gt;&quot;&gt;&lt;?php the_title ; ?&gt;&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php endwhile; ?&gt; &lt;/div&gt; &lt;div id=&quot;paginate-slider2&quot;&gt; &lt;?php $recent = new WP_Query(&quot;meta_key=manset&amp;showposts=10&quot;); while($recent-&gt;have_posts : $recent-&gt;the_post ;?&gt; &lt;div class=&quot;mkucuk&quot;&gt; &lt;a href=&quot;&lt;?php the_permalink ?&gt;&quot; class=&quot;toc&quot;&gt; &lt;?php if( get_post_meta ): ?&gt; &lt;img src=&quot;&lt;?php bloginfo ; ?&gt;/js/timthumb. php?src=&lt;?php echo get_post_meta ; ?&gt;&amp;h=46&amp;w=86&amp;zc=0&quot; alt=&quot;&lt;?php the_title ; ?&gt;&quot; /&gt; &lt;?php elseif ( has_post_thumbnail ) : ?&gt;&lt;?php the_post_thumbnail ; ?&gt;&lt;?php else: ?&gt; &lt;img src=&quot;&lt;?php bloginfo ; ?&gt;/js/timthumb. php?src=&lt;?php echo ilk_resmi_al ; ?&gt;&amp;h=46&amp;w=86&amp;zc=0&quot; alt=&quot;&lt;?php the_title ; ?&gt;&quot; /&gt; &lt;?php endif; ?&gt; &lt;/a&gt; &lt;/div&gt; &lt;?php endwhile; ?&gt; &lt;/div&gt; &lt;script type=&quot;text/javascript&quot;&gt;featuredcontentslider. init({ id: &quot;slider2&quot;, contentsource: , toc: &quot;markup&quot;, nextprev: , revealtype: &quot;mouseover&quot;, enablefade: , autorotate: , onChange: function })&lt;/script&gt; buda js dosyası // Featured Content Slider script- Dynamic Drive DHTML code library: http://www.dynamicdrive.com. // May 2nd, 08'- Script rewritten and updated to 2.0. // June 12th, 08'- Script updated to v 2.3, which adds the following features: //1) Changed behavior of script to actually collapse the previous content when the active one is shown, instead of just tucking it underneath the later. //2) Added setting to reveal a content either via &quot;click&quot; or &quot;mouseover&quot; of pagination links . //3) Added public function for jumping to a particular slide within a Featured Content instance using an arbitrary link, for example. // July 11th, 08'- Script updated to v 2.4: //1) Added ability to select a particular slide when the page first loads using a URL parameter (ie: mypage.htm?myslider=4 to select 4th slide in &quot;myslider&quot;) //2) Fixed bug where the first slide disappears when the mouse clicks or mouses over it when page first loads. // Featured Content Slider- © Dynamic Drive DHTML code library // This notice MUST stay intact for legal use // Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more var featuredcontentslider={ //3 variables below you can customize if desired: ajaxloadingmsg: '&lt;div style=&quot;margin: 20px 0 0 20px&quot;&gt;&lt;img src=&quot;loading. gif&quot; /&gt; Fetching slider Contents. Please wait...&lt;/div&gt;', bustajaxcache: true, //bust caching of external ajax page after 1st request? enablepersist: true, //persist to last content viewed when returning to page? settingcaches: , //object to cache &quot;setting&quot; object of each script instance jumpTo:function , ajaxconnect:function { var page_request = false if { //Test for support for ActiveXObject in IE first (as XMLHttpRequest in IE7 is broken) try catch { try catch } } else if // if Mozilla, Safari etc page_request = new XMLHttpRequest else return false var pageurl=setting. contentsource page_request. onreadystatechange=function document. getElementById . innerHTML=this. ajaxloadingmsg var bustcache= ? &quot;&quot; : (pageurl. indexOf !=-1)? &quot;&amp;&quot;+new Date . getTime : &quot;?&quot;+new Date . getTime page_request. open page_request. send }, ajaxpopulate:function { if (page_request. readyState 4 &amp;&amp; (page_request. status 200 || window. location. href. indexOf -1)) }, buildcontentdivs:function { var alldivs=document. getElementById . getEle mentsByTagName for (var i=0; i&lt;alldivs. length; i++){ if (this. css } }, buildpaginate:function { this. buildcontentdivs var sliderdiv=document. getElementById var pdiv=document. getElementById var phtml=&quot;&quot; var toc=setting. toc var nextprev=setting. nextprev if { for (var i=1; i&lt;=setting. contentdivs. length; i++) phtml=(nextprev !=''? '&lt;a href=&quot;#prev&quot; class=&quot;prev&quot;&gt;'+nextprev +'&lt;/a&gt; ' : '') + phtml + (nextprev !=''? '&lt;a href=&quot;#next&quot; class=&quot;next&quot;&gt;'+nextprev +'&lt;/a&gt;' : '') pdiv. innerHTML=phtml } var pdivlinks=pdiv. getElementsByTagName var toclinkscount=0 //var to keep track of actual # of toc links for (var i=0; i&lt;pdivlinks. length; i++){ if (this. css { if (toclinkscount&gt;setting. contentdivs. length-1) pdivlinks. setAttribute //store page number inside toc link pdivlinks =function setting. toclinks. push } else if (this. css || this. css { //check for links with class &quot;prev&quot; or &quot;next&quot; pdivlinks. onclick=function } } this. turnpage if (setting. autorotate ){ //if auto rotate enabled pdiv =function sliderdiv =function setting. autorotate =setting. autorotate +(1/setting. enablefade 50) //add time to run fade animation to delay between rotation this. autorotate } }, urlparamselect:function , turnpage:function { var currentpage=setting. currentpage //current page # before change var totalpages=setting. contentdivs. length var turntopage=(/prev/i. test ? currentpage-1 : (/next/i. test ? currentpage+1 : parseInt turntopage=(turntopage&lt;1)? totalpages : ? 1 : turntopage //test for out of bound and adjust if //if a pagination link is clicked on repeatedly return setting. currentpage=turntopage setting. contentdivs . style. zIndex=++setting. topzindex this. cleartimer setting. cacheprevpage=setting. prevpage if (setting. enablefade true) if (setting. enablefade false) setting. contentdivs . style. visibility=&quot;visible&quot; setting. contentdivs . style. display=&quot;block&quot; if //make sure pagination link exists this. css(setting. toclinks , &quot;selected&quot;, &quot;remove&quot;) if //make sure pagination link exists this. css(setting. toclinks , &quot;selected&quot;, &quot;add&quot;) setting. prevpage=turntopage if this. setCookie }, setopacity:function { //Sets the opacity of targetobject based on the passed in value setting (0 to 1 and in between) var targetobject=setting. contentdivs if (targetobject. filters &amp;&amp; targetobject. filters ) else if //Old Mozilla syntax targetobject. style. MozOpacity=value else if //Standard opacity syntax targetobject. style. opacity=value setting. curopacity=value }, fadeup:function { if (setting. curopacity&lt;1){ this. setopacity(setting, setting. curopacity+setting. enablefade ) window =setTimeout(function , 50) } else }, cleartimer:function { if { clearTimeout clearInterval if } }, css:function , autorotate:function { window =setInterval(function , setting. autorotate ) }, getCookie:function , setCookie:function , init:function { var persistedpage=this. getCookie || 1 var urlselectedpage=this. urlparamselect //returns lisanssız or index from: mypage.htm?featuredcontentsliderid=index this. settingcaches =setting //cache &quot;setting&quot; object setting. contentdivs= setting. toclinks= setting. topzindex=0 setting. currentpage=urlselectedpage || ? persistedpage : 1) setting. prevpage=setting. currentpage setting. revealtype=&quot;on&quot;+ setting. curopacity=0 setting. onChange=setting. onChange || function if (setting. contentsource &quot;inline&quot;) this. buildpaginate if (setting. contentsource &quot;ajax&quot;) this. ajaxconnect } }