{"id":6564,"date":"2014-04-20T09:41:39","date_gmt":"2014-04-20T09:41:39","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/jquerycssscrollwordpress-themingrelated-issues-collection-of-common-programming-errors\/"},"modified":"2014-04-20T09:41:39","modified_gmt":"2014-04-20T09:41:39","slug":"jquerycssscrollwordpress-themingrelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/jquerycssscrollwordpress-themingrelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"jquery,css,scroll,wordpress-themingRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/146af4faec304a16147cae7d5d0ac83d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMPD<br \/>\n7 jquery admin-theme<br \/>\nI have installed jQuery Update but it breaks some core functionality that makes the admin UI a struggle to deal with. Is there a way to keep jQuery Update enabled but disable it when the admin theme is visible?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/a4zmY.jpg?s=32&amp;g=1\" \/><br \/>\nJamal<br \/>\njquery plugin twitter<br \/>\nI&#8217;ve been working on a jQuery plugin for pulling tweets since the v1 endpoints were all closed off and you need oAuth now. This is just the jQuery part but if you want to see the php behind it I&#8217;ll be happy to post. But basically, I&#8217;d love suggestions, as this is one of the first real plugins i&#8217;ve made, i&#8217;m really looking for critique on patterns and efficiency. Is there anything I&#8217;m doing that can be shorten&#8217;d significantly? Is there a feature you think would be cool for me to include?And just<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/a4zmY.jpg?s=32&amp;g=1\" \/><br \/>\nJamal<br \/>\njavascript jquery datetime plugin twitter<br \/>\nI&#8217;ve built a Twitter plugin recently and was wondering if I could get some feedback on it. There is also a PHP side that grabs the actual tweets and I can post that code if it&#8217;s needed.http:\/\/jsfiddle.net\/cKfDd\/;(function ( $, window, document, undefined ) { \/************************************* Plugin Functions *************************************\/ \/*************************************\/ Plugin.prototype.init = function () {var params = [ &#8216;?user=&#8217; + this.options.user,&#8217;&amp;limit=&#8217;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1aa7bcddd1f30459cf0238cdb8b3cabd?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nlaxman<br \/>\nphp jquery ajax wordpress woocommerce<br \/>\nI am getting catchable fatal error in bellissima themeforest woocommerce theme.http:\/\/www.pursesgalore.com.au\/ can anyone help on this?Code:if(!$dst_h) :\/\/can&#8217;t resize, so return original url$img_url = $url;$dst_w = $orig_w;$dst_h = $orig_h;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;line number 1040 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;else :\/\/else check if cache existsif(file_exists($destfilename) &amp;&amp; getimagesize($destfilename)) {$img_url = &#8220;{$upload_url}{$dst_rel_path}-{$suffix}.{$ext}&#8221;;} Error: Catchable fatal erro<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a416a6caf0ac8f57a5f5460e6dba5c39?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nFran Verona<br \/>\nphp javascript jquery ajax<br \/>\nI have a PHP file with the following code:&lt;html&gt;&lt;head&gt;&lt;!&#8211; HEAD &#8211;&gt;&lt;?php require_once &#8216;Language.php&#8217;; ?&gt;&lt;\/head&gt;&lt;body&gt;&lt;script type=&#8221;text\/javascript&#8221;&gt;$.get(&#8216;step2.php&#8217;,function(data){\/\/ Do something});&lt;\/script&gt;&lt;\/body&gt; &lt;\/html&gt;As you can see, I&#8217;m trying to load some content via Ajax call. The problem is that step2.php contains some PHP code:&lt;div class=&#8221;step-content table-bordered&#8221;&gt;&lt;h3&gt;&lt;?php echo $Lang-&gt;get(&#8216;create_s2_title<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/01647fd568f49ef5f1b17203a51aa92c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTom<br \/>\njquery ajax joomla joomla2.5<br \/>\nStill having problems figuring out how to use Ajax and the Joomla framework together. I&#8217;ve created a Joomla component which I can access with:index.php?option=com_mycomponentI&#8217;m using Jquery with Ajax in components\/com_mycomponent\/views\/mycomponent\/tmpl\/default.php:&lt;?php \/\/ No direct access to this file defined(&#8216;_JEXEC&#8217;) or die(&#8216;Restricted access&#8217;); ?&gt; &lt;html&gt; &lt;head&gt;&lt;title&gt;Ajax with jQuery Example&lt;\/title&gt;&lt;script language=&#8221;javascript&#8221; type=&#8221;text\/javascript&#8221; src=&#8221;ht<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3d46949aa7402cfe998594c75bb1835f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAsenar<br \/>\njavascript php jquery callback<br \/>\ni have make an php editor with so much effort but i cant print the fatal error. and want to print the fatal error. How to do this. I have code for run the php through eval function here is my jsfiddle &#8211; **http:\/\/jsfiddle.net\/3c7F6\/3\/** I want to print an fatal error. Please help me to do this.please check the code and give me the suggestion<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/100002099340201\/picture?type=large\" \/><br \/>\nUlker Ibrahimova<br \/>\njavascript jquery file-get-contents<br \/>\nThis question already has an answer here:Ways to circumvent the same-origin policy11 answersIs there any way to get full page source of snother different site? Example my site is example.com but i want to get facebook&#8217;s page source on example.com. I tired this one: http:\/\/phpjs.org\/functions\/file_get_contents\/ And it gives me null. So anyone knows it?function file_get_contents (url, flags, context, offset, maxLen) {\/\/ Read the entire file into a string\/\/\/\/ version: 906.111\/\/ discuss at: http:\/\/<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/314e8f1109c5056d15000bdfbff7a53f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMitesh Vora<br \/>\njquery html css ellipsis<br \/>\nI tried looking here Insert ellipsis (&#8230;) into HTML tag if content too wide but could not get in chrome to work. I there solution for multiline in all browsers??<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/65f538663f6efb994a4261011f485297?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRonald Yeung<br \/>\njavascript jquery ajax json cors<br \/>\nWhat I am trying to do is to have a page on the HTTP protocol sending an AJAX call to the same Web server but using HTTPS. Both the requesting page and the AJAX handler are on the same server, having the same domain and port. (I.e., only difference is the protocol.) To illustrate,Fromhttp:\/\/www.example.com\/index.phpTriggers a jQuery AJAX call tohttps:\/\/www.example.com\/authenticate.php?user=123&amp;password=456(I am hoping to pass the password through HTTPS to make it encrypted over the Internet.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b38c660196ab73907bf216b92f07f870?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nLove Senya<br \/>\ncss less lessphp<br \/>\nI&#8217;m try to compile this .less code to .css via lessphp and get this error:Fatal Error: ==================== infinite loop detected: @pos-x: failed at `background-position: @pos-x 0; }` line: 3Here is my code.@pos-x : 0; @w : 30px; .a { background-position: @pos-x 0; }@pos-x: @pos-x &#8211; @w; .b { background-position: @pos-x 0; }What&#8217;s wrong with it? Can i use varable overriding in LESS?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/314e8f1109c5056d15000bdfbff7a53f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMitesh Vora<br \/>\njquery html css ellipsis<br \/>\nI tried looking here Insert ellipsis (&#8230;) into HTML tag if content too wide but could not get in chrome to work. I there solution for multiline in all browsers??<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/152440980b80981deaf3ede3a29b18c9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nvals<br \/>\ncss<br \/>\nbackground: url(&#8220;images\/main_bg.png&#8221;) repeat;Is a header\/banner background image in style.css, but not sure how to get a shadow around it&#8230;I tried body {font-family: Arial,Helvetica,sans-serif; font-size: 13px;color: #333333;background: url(&#8220;images\/main_bg.png&#8221;) repeat;box-shadow: 0 0 5px 2px #282a2d;line-height: 1.4; }But that didn&#8217;t work out&#8230;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6375e83092dd2decd91674cd3b1ae0be?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nthealexbaron<br \/>\njquery css<br \/>\nClick &#8220;Rate&#8221; &#8211; that should pop up a normal boxy dialog, but styles aren&#8217;t working. Any ideas?Here&#8217;s the working example on the site: http:\/\/www.great-quotes.com\/boxyTest.htmThe official boxy docs: onehackoranother.com\/projects\/jquery\/boxy\/.boxy-wrapper { position: absolute; } .boxy-wrapper.fixed { position: fixed; }\/* Modal *\/.boxy-modal-blackout { position: absolute; background-color: black; left: 0; top: 0; }\/* Border *\/.boxy-wrapper { empty-cells: show; }.boxy-wrapper .top-left,.boxy-wrapper<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a2d818d801ce38a33807f68fdd92043a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBoltClock<br \/>\ncss background-image<br \/>\nIs anyone aware of a way to change one layer of a multi-layered background using pure css? I&#8217;ve been searching around but can&#8217;t find any mention of current, or even proposed future specification. My thinking says there probably wont be, but the net is so vast now I&#8217;m sure someone, somewhere, has information or links to discussions along these lines.pseudo cssAn example way of implementation, just to illustrate what I mean. The following would obviously have problems with regard to the order of p<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6895fa36a8420e8bd8c1bba353558e17?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\n?s??o?<br \/>\nandroid html css forms<br \/>\nI have a mobile web app that displays a dialog box within a position: fixed element overlaying the entire screen. No matter how much content is displayed or how far the page has scrolled, the overlay element dims the page content and the dialog appears on top of it all. There is an &lt;input type=&#8221;search \/&gt; field in the dialog.On Android, when the user taps the input field to give it focus, some pretty erratic behavior often (but not always) ensues:The soft keyboard appears, then immediatel<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6c98878ee0c48109b3c395e2cf4eb244?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSander Marechal<br \/>\nhtml css<br \/>\nI need some help with my design. I want to display three equal-height boxes next to each other, like this ASCI art:+&#8212;&#8212;+ +&#8212;&#8212;+ +&#8212;&#8212;+ | | | | | | | | | | | | | | | | | | +&#8212;&#8212;+ +&#8212;&#8212;+ +&#8212;&#8212;+I also have an example online (with all the CSS).The contents of the boxes varies in height. The tricky thing is that these boxes also need to have rounded corners. For that I am using the &#8220;sliding doors&#8221; technique. Basically, the markup of a box is s<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7521606976cbe7251c6985596f8f776c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nm1crdy<br \/>\njquery css jquery-mobile iscroll iscrollview<br \/>\ni got iScrollView in my app for native scrolling but I\u00b4m getting a strange behaviour. The content is bouncing and then jumps down or up and stays there. I\u00b4m getting the feeling, that the plugin isn\u00b4t calculating the height&#8230; Anyone got this problem, too?My HTML&lt;!DOCTYPE html&gt; &lt;html&gt;&lt;head&gt;\/\/ scripts are included &lt;\/head&gt;&lt;body&gt;&lt;!&#8211; START PAGE &#8211;&gt;&lt;div data-role=&#8221;page&#8221; id=&#8221;reviews&#8221;&gt;&lt;!&#8211; START HEADER &#8211;&gt;&lt;div data-role=&#8221;header&#8221; class=&#8221;header&#8221; data-pos<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/615354ef155ecf1dcddaafece7f3bad6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTroels Larsen<br \/>\njquery html css css3<br \/>\nI&#8217;ve been exposed to the commandment of &#8216;no tables for layouts&#8217; for years now, but I&#8217;m wondering if CSS still has no easy (readable) way of doing grid layouts?It&#8217;s been ages since I last did web development, and coming back to it from WPF, CSS still seems like a very limited way of coding layouts.What I&#8217;m trying to achieve is show in the Basically, I want my form to contain 5 columns:1 holding s. Autosized after the widest element 4 taking up the remaining space in the parent container, divided<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/895002f0714e6d0d7b44da6767fa5185?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ngrammar<br \/>\nhtml css flex json rollovers<br \/>\nI am using JSON to parse HTML data with customized html tags in Flex. Flex&#8217;s support for HTML is pretty minimal, so I am wondering if it&#8217;s possible to do a simple font color change rollover effect on these links. Currently I have found that Flex only supports a few HTML tags, but also supports CSS through Flex&#8217;s whack CSS methods. Can I manipulate HTML that is written in my JSON files through an external CSS file? Or better still using a simple tag with the JSON file?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/100002077535091\/picture?type=large\" \/><br \/>\nAaron Russell<br \/>\njquery css jquery-mobile scroll appframework<br \/>\ni have a panel that contains a div that needs to not scroll when someone is scrolling down the listview, as is stands right now when i scroll it scrolls the whole entire panel. Im using Intel XDK NEW with App Framework 2.0, jQuery and JQM. Here is what i have please see comments&lt;div id=&#8221;home&#8221; class=&#8221;panel&#8221; data-nav=&#8221;home-nav&#8221; data-load=&#8221;loadDashData&#8221;&gt;&lt;header&gt;&lt;h1&gt;test&lt;\/h1&gt;&lt;\/header&gt;&lt;div id=&#8221;dashUserInfo&#8221; class=&#8221;user-info&#8221;&gt; \/\/THIS IS THE DIV I DONT WANT SCROLLING<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/519271107\/picture?type=large\" \/><br \/>\nlior r<br \/>\nmobile scroll css-position<br \/>\nI have went all over the web to find a solution for this one &#8230;i want to create a fixed bottom menu for my web application, As i learned the support is not cross platform and each device and browser presents a different obstacle,I have placed an element withposition:fixed; bottom:0; left:0;problem : it is very buggy on some browsers (pops to place after the scroll ends , stays on the center of the screen, etc &#8216; &#8230;)is there a good solution for this issue , or should i give it a rest \ud83d\ude42 ?thanks<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c739d272a1ce0f43c676cdde816ee83d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSiva Charan<br \/>\njquery iframe mobile scroll<br \/>\nI have an iframe containing a web page that uses jQuery.To scroll to a specific position of the iframed page (the .js is included in the iframed page, non in the container page) I use:$(&#8216;html,body&#8217;).animate({scrollTop: POSITION}, DURATION);I tested that the scroll works on latest desktop Firefox, Explorer, Safari and Chrome but on mobile iPad and Android native browser fails (on Firefox mobile it works).Anyone has some suggestion?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c6c28b2e0205c9b87004ebaade245ff1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKent<br \/>\nios uitableview uinavigationcontroller scroll nsfetchedresultscontrolle<br \/>\nMy app has a method to add a new item to a table (using Core Data for storage) which initializes the new object, adds it to Core Data, and segues to an Edit view.After editing and hitting the default &#8220;Back&#8221; button in the Edit view, I do the following in ViewDidAppear in order to scroll my table to the newly added item:- (void)viewDidAppear:(BOOL)animated {[super viewDidAppear:animated];\/\/ if a new event was just added then scroll the tableview to itif (_newlyAddedEvent != nil) {[self.eventListTa<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ebb4cc58c1fce4f22abc59a1226ee8e2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMatt Mc<br \/>\nios uiwebview uiscrollview delegates scroll<br \/>\nI&#8217;m developing for iOS 6, and I am working on a sort of toolbar at the top of a UIWebView that will recede as you scroll up on the UIWebView.My thought was that I could set the delegate of the UIScrollView that&#8217;s inside the UIWebView to send messages to my UIViewController, which will animate the constraints on the toolbar at the top to get it to shrink and move and so forth.However, the scrollViewDidScroll: method does not seem to get called, which confuses me.Now, there are a number of other q<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/56GWL.jpg?s=32&amp;g=1\" \/><br \/>\nangry ferret<br \/>\njquery scroll<br \/>\nI have the following jQuery code:$(&#8216;#staff_list&#8217;).scroll(function(){var dif = scrollPrev &#8211; $(&#8216;#staff_list&#8217;).scrollTop();scrollPrev = $(&#8216;#staff_list&#8217;).scrollTop();var pos = parseInt($(&#8216;.selected&#8217;).css(&#8216;margin-top&#8217;)) + dif;var limit = $(&#8216;.selected&#8217;).position().top + parseInt($(&#8216;.selected&#8217;).css(&#8216;margin-top&#8217;));if( limit &lt; 474 ) {$(&#8216;.selected&#8217;).css(&#8216;margin-top&#8217;,pos + &#8216;px&#8217;);} });The code is suppose to ensure $(&#8216;.selected&#8217;) moves with $(&#8216;#staff_list&#8217;) when the list is scrolled. However, I want to li<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/850230202\/picture?type=large\" \/><br \/>\nHeather Roberts<br \/>\nflex actionscript-3 list scroll mousewheel<br \/>\nI have a custom class that extends List which I am using as a container. However, the scroll speed is too fast on the mouse wheel, as in it scrolls loads even if you only move the wheel a tiny bit. I tried adding an event listener to my list for MouseEvent.MOUSE_WHEEL and setting the value of event.delta but this has had no effect. Does anyone know how I can make it slower?My custom class is nothing special, I just created it so I could have a different itemRenders for different item types. It l<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ad3e7cf08b03f68dfddfe3a21c79362a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJared<br \/>\njquery scroll<br \/>\nCheck the following link in Chrome: http:\/\/www.bavarianblue.com\/parts-list\/?tags=strutsThe site is totally jacked in IE &#8211; need to fix a bunch of CSS.I use the follow Javascript to perform the animation (uses jquery.scrollTo-1.4.2-min.js);jQuery(document).ready(function($) { \/\/required for $ to work in WordPressvar moo = $(&#8220;.tags&#8221;).attr(&#8220;rel&#8221;);if (moo == &#8220;&#8221;){return;}else {var scrolling = $(&#8220;.&#8221;+moo).offset().top-100;$.scrollTo(scrolling, 800, {easing:&#8217;swing&#8217;} );$(&#8216;.&#8217;+moo).animate({backgroundColor<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5437adcc433efb2089c318ac780d0b66?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nBertges<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/77ae170353dc7ec73d1abbfa34e23006?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ncebirci<br \/>\njavascript jquery facebook iframe scroll<br \/>\nI have a facebook app run inside an iframe. The problem is that if I have a smaller browser window, I scroll to the bottom to the app&#8217;s page list and select a new page, it will open in the iframe also in the bottom.I tried to add a #top to the links, linking to a name=&#8221;#top&#8221; element inside the new page, but this doesn&#8217;t work on Firefox (verified) and supposedly IE(not verified yet). For Firefox, I understood it&#8217;s a known issue and there are some workarounds to make a &#8220;scroll to top&#8221; link work, B<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a344c1b70faaffceec6ee58d4b6269f7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nFydo<br \/>\nwordpress wordpress-theming<br \/>\nThe following is what I have in my code for a custom theme. However I&#8217;m having issues with attaching my custom_script to the footer. 09 &lt;?php 10 function my_scripts_method() { 11 wp_enqueue_script( 12 &#8216;custom-script&#8217;, 13 get_template_directory_uri() . &#8216;\/js\/custom_script.js&#8217;, 14 array(&#8216;jquery&#8217;) 15 ); 16 } 17 add_action(&#8216;wp_enqueue_scripts&#8217;, &#8216;my_scripts_method&#8217;); 18 ?&gt;yields the following error for me.Fatal error: Cannot redec<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/100004048546344\/picture?type=large\" \/><br \/>\nMichelle Cantin<br \/>\njavascript jquery wordpress wordpress-theming<br \/>\nMy custom JQuery file as well as Masonry Jquery are linked but not working.You can see that it links correctly in the source file: view-source:http:\/\/michellecantin.ca\/test\/features\/notification-boxes\/JQuery is also linked and I&#8217;m pretty sure it is working.Why aren&#8217;t my scripts working?ps: I use it in a wordpress theme.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1abf8bd9ce1aa6b6116800c049c876ff?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njsebcortes<br \/>\nwordpress wordpress-theming<br \/>\nI am trying to call a menu to display in a certain place of my page. The theme has a hook above the content that I want to use as the place to display the menu. I do not want to modify the core files of the theme, so the goal is to achieve this using only functions.php modificationsI am adding the following code to my functions.phpOn my menu panel, I already have assigned the menu &#8220;categories&#8221; to the &#8220;catmenu&#8221; theme location. register_nav_menu( &#8216;catmenu&#8217;, &#8216;Categories Menu&#8217; );\/\/adds category menu<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3698d1596952f973d7a71d4835f594a4?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKotheof<br \/>\nphp wordpress wordpress-theming entity-relationship lighttpd<br \/>\nI have a problem on a WordPress theme I am developing and I need your help. I get a weird PHP error when I am try to move my functions in separated files. So when I change this:\/\/file: functions.php function function1(){ &#8230; } require_once(&#8216;functions\/other_functions.php&#8217;);to this:\/\/file: functions.php require_once(&#8216;functions\/the_functions.php&#8217;); require_once(&#8216;functions\/other_functions.php&#8217;);\/\/file: functions\/the_functions.php &lt;?phpfunction function1(){&#8230;} ?&gt;I get an error says:parse error<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d5f91983a9d9cfb69981b6108a63b412?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nskaffman<br \/>\nwordpress wordpress-theming sidebar<br \/>\nI&#8217;m having difficulty with setting up a second sidebar for my WordPress theme. Here&#8217;s the code for function.php:&lt;?php if(function_exists(&#8216;register_sidebar&#8217;)){register_sidebar(array(&#8216;before_widget&#8217;=&gt;'&lt;li&gt;&#8217;,&#8217;after_widget&#8217;=&gt;'&lt;\/li&gt;&#8217;,&#8217;before_title&#8217;=&gt;'&lt;h2&gt;&#8217;,&#8217;after_title&#8217;=&gt;'&lt;\/h2&gt;&#8217;,)) ; } ?&gt; &lt;?php if(function_exists(&#8216;register_sidebar&#8217;)){register_sidebar(&#8216;home&#8217;array(&#8216;before_widget&#8217;=&gt;'&lt;li&gt;&#8217;,&#8217;after_widget&#8217;=&gt;'&lt;\/li&gt;&#8217;,&#8217;before_title&#8217;=&gt;'&lt;h2&gt;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/kxyts.png?s=32&amp;g=1\" \/><br \/>\nHooman<br \/>\nphp html wordpress div wordpress-theming<br \/>\nI have created three columns like this:&lt;div style=&#8221;float: left&#8221;&gt;Left Column&lt;\/div&gt; &lt;div style=&#8221;float: left&#8221;&gt;Middle Column&lt;\/div&gt; &lt;div style=&#8221;float: left&#8221;&gt;Right Column&lt;\/div&gt;This works well on its own. However the moment I add it to my WordPress page template, by defining a left and right column around the existing main column something unexpected happens:http:\/\/venuscloud.com\/crm-software\/The left column is correctly placed and the middle column is as expected in<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5662e99cac22dd9af28b2ab45b1a54de?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKlaster_1<br \/>\nhtml header wordpress-theming<br \/>\nI am experiencing these bugs, that maybe be affecting the ability of users at modify product quantities on my site.What file should I edit to correct these errors ?HTML1527: DOCTYPE expected. The shortest valid doctype is &#8220;&lt;!DOCTYPE html&gt;&#8221;. italian-dry-salami, line 3 character 1HTML1502: Unexpected DOCTYPE. Only one DOCTYPE is allowed and it must occur before any elements.italian-dry-salami, line 79 character 1HTML1513: Extra &#8220;&lt;html&gt;&#8221; tag found. Only one &#8220;&lt;html&gt;&#8221; tag should ex<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/547d307fcc5523cc2803bb46baa35380?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRonnieT<br \/>\nphp wordpress wordpress-theming category<br \/>\nLooking to pull the category ID of a specific page in WordPress that is listing all posts using that specific category. Tried the below but not working. I am able to get the category name using single_term_title.$category = single_term_title(&#8220;&#8221;, false); $catid = get_cat_ID( $category );$category is displaying &#8220;Entertainment&#8221; for example. But I also need the ID of &#8220;Entertainment&#8221;. How would I go about this?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ecefdcbc16e0f1fd61be3011b0045761?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nthe_drow<br \/>\nwordpress-theming<br \/>\nHow do I edit the class-http.php file in WP 3.1.3. ? I can access the file but cannot edit it. I am getting An Unexpected HTTP Error occurred during the API request. error.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/100001727940749\/picture?type=large\" \/><br \/>\nAsif Ali<br \/>\nphp wordpress wordpress-theming<br \/>\nMy wordpress files somehow don&#8217;t know was removed from my server..and then when i upload the files again so it give me this error..i am getting the following error as :Parse error: syntax error, unexpected $end in \/home3\/nzonesie\/public_html\/shoppingcart\/wp-content\/themes\/mercor\/includes\/menu.php on line 17here the menu.php file is online at pastebin as : http:\/\/pastebin.com\/iKSFt3VDplease..check that and let me know..what is wrong there..!<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MPD 7 jquery admin-theme I have installed jQuery Update but it breaks some core functionality that makes the admin UI a struggle to deal with. Is there a way to keep jQuery Update enabled but disable it when the admin theme is visible? Jamal jquery plugin twitter I&#8217;ve been working on a jQuery plugin for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6564","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6564"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6564\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}