php,wordpress,wordpress-theming
I have single.php file and it set the default template for my posts. How can I set more views/templates for posts in specific category? I saw that there are plugins, but plugins aren't up to date. Can i do this without any plugins? I know how I can do this...

php,jquery,wordpress,wordpress-theming
Duplicate get_header() Problem!!! I insert, using jQuery, single-{custom-post-type}.php into an ajax container in my front-page. My single-{custom-post-type}.php use the wp function get_header() and my front-page is using get_header() to, so everything is already loaded. So when I load my custom posts It crash. If I remove get_header() from my single-{custom-post-type}.php...

css,wordpress,wordpress-theming,right-to-left
This is a WordPress issue and I'm asking this question here because I believe it is a CSS problem. I'm using Wordpress and a theme named ShootinStar but I have to do my website in an RTL language. The theme supports RTL though. Everything is perfect when the language of...

wordpress,wordpress-theming
So I've been searching the web and I can't find a good answer on how to have a featured image with a play button, once I click the play button it launches a mp3 player built on wordpress site. Much like this site -> indieshuffle.com Does anyone know how to...

wordpress,widget,wordpress-theming
I have copied the twentythirteen Wordpress theme to dive into Wordpress development. I want to change the look of my footer, so I used the Firefox inspector to play around with it. The widgets in my footer sidebar have the following HTML around them: <aside style="position: absolute; left: 0px; top:...

php,wordpress,wordpress-plugin,wordpress-theming
I'm trying to add previous and next links to my portfolio posts. I have various custom posts, but I only want to link to my portfolio custom posts. I have been looking in the documentation and have tried using this in the wordpress loop <?php next_post_link('%link', 'Next post in category',...

wordpress,wordpress-theming
I have been working on wordpress for a while. I know that we can manage themes via the admin panel and the selected theme and its configuration details are stored in the database. Is there any way I can set the theme via my wordpress code?...

php,wordpress,wordpress-plugin,wordpress-theming
In my WordPress site I have a requirement to show private links in the main navigation (via wp_nav_menu) even if the user isn't logged in (I just need to show the link, not change who can view the actual content). I can do this elsewhere, using wp_list_pages and specifying the...

php,wordpress,wordpress-theming
I have a wordpress site which is live and running. I want to change the theme but I'm new to wordpress and what I'm trying to do is that I have a new theme setup locally(I want to play around with it before putting it live) and I want to...

php,css,wordpress-theming
Hi everyone would like to ask if it is possible to customise the WordPress description. For example on my local site the description is Blah | Blah | Blah Is it possible to have each "blah" a different colour using code or would I be have to write out a...

css,wordpress,wordpress-theming
I am working on a wordpress theme, Harmonic, and I've gotten almost exactly the way I want. There was an error in the theme where the nav bar would flicker away then appear again when I scroll, and I was able to change it to position: fixed. The current issue...

php,wordpress,themes,wordpress-theming,web-deployment-project
I am creating a WordPress Theme ,I created Single.php now in single.php i have a Button Called Watch Now . When Watch Now is Clicked it gets the ID of the Current/Clicked Post dynamically ! I used WP function (get_the_ID) now when it goes to another Page (receive.php) i want...

php,wordpress,wordpress-plugin,wordpress-theming,wordpress-mu
My Client is willing to follow an unusual approach and wants to control the back-end through WordPress internally but output it as an static one on the live server. I this possible? Well I think it is, can anyone suggest me how should I do it or send me any...

wordpress,wordpress-theming
I need to create wordpress site's blog page which can be directly done by adding demo content of avada wordpress theme that i know but i don't know how actually it can be possible. so please guide me about this.

php,wordpress,wordpress-plugin,woocommerce,wordpress-theming
My woocommerce checkout is showing and up till this morning was working fine. But now when I try to submit the form I get this message: "We were unable to process your order, please try again". I haven't changed anything in the settings or plugins. I have updated woocommerce recently...

php,wordpress,wordpress-theming,wordpress-loop
I have WordPress onepage and I displayed posts from specific category in one of page. When I click to link with permalink href, I am redirecting to home page with added /post-name/ to url, but no to post page. I have index.php and single.php. I have this index.php: <?php query_posts(array(...

php,html,wordpress,wordpress-theming
I have a static website in html which is multilanguage. So, I have created several subdirectories depending on the language is selected, this is, "lang" folder for the languages and "fr" folder for francais and "es" for spanish. However, I don't know how to call my template page in WordPress...

wordpress,wordpress-theming,advanced-custom-fields,wpdb
I have made custom fields using advanced custom field plugin. It has a field name school which includes choices such as arts,education,engineering. Now my problem is how can i query only those post who field is arts using wpdb. sincerely i don't know wpdb works. . Any help will be...

php,wordpress,wordpress-plugin,wordpress-theming,content-type
I have been searching for this a few hours now and I might just overlook it or asking the wrong questions in google, but I would really like to know how I can get the content I type in e.g. the About page in the WordPress dashboard, to display on...

jquery,ajax,wordpress-theming,grid-layout,html5-animation
Hello I would like to make a layout where by tiles (1x1, 1x2, and 2x2) fill a grid, and when you click one of the tiles it expands to a larger window and fits into a larger area within the tiles surrounding it. Here is an example of what I...

html,css,wordpress,wordpress-theming
First off, please forgive me if this isn't detailed enough. I am a graphic designer with minimum html/coding knowledge. I am designing a site using WordPress. I put in a pink pattern background and it works well on the homepage. But if you click on the Print Design page for...

wordpress,.htaccess,wordpress-theming
I have a custom page called settings.php in my theme folder, I don't want to use it as page template. How can I reserve a URL let's call it mysite.com/settings, so this url will load settings.php page for me? ...

php,wordpress,wordpress-theming
I created a theme, and the theme have social icons in the header, now i want a theme feature, where administrator can link their profile to social icons that I have on my theme. I researched on this, but am still clueless, till now I am just able to add...

php,wordpress,security,wordpress-theming,input-sanitization
I'm developing a Custom Theme for a Wordpress site and I want to use Wordpress Core Data Validation Functions to validate the info from some forms. Every time I try to use the sanitize_text_field() function I get this error: Fatal error: Call to undefined function sanitize_text_field(). I've read many posts...

wordpress,wordpress-theming,wordpress-loop
I want to create "view all posts" link to show all posts of a specific category in wordpress. But as a newcomer I can't handle it. Can you tell me to create that type of link, which code should I write in functions.php file and which code should I write...

wordpress,user-interface,web,wordpress-theming
I've been tasked with modifying the frond end of a Wordpress site, which is something I have not done before. I was first thinking of using Handlebars an Bootstrap, but I'm not even sure that will even work with the Wordpress framework. If those don't work, what would be a...

php,wordpress,wordpress-theming,wordpress-plugin-dev,wordpress-loop
wordpress experts. I'm searching some help. I know php as well as javaScript and ajax. I have worked a few days with wordpress. But I want to know core functionality of wordpress that means how wordpress functions and database work. I know about codex. But I am not understanding from...

javascript,jquery,css,wordpress,wordpress-theming
I am currently in the process of developing an online shop via wordpress. Everything was working fine, now I wanted to give my page a custom border( inverted round corners) and found the css code for it as seen here: css: body { background-color: #fff; } .wrapper { overflow:hidden; width:200px;...

php,wordpress,wordpress-theming
I've encountered a strange problem with menus after moving WordPress from local environment to a live server. On my local server, the menus are displayed correctly, while on the live server, there is only a piece of the menu code shown instead of the actual menu. (Basically, it cuts off...

php,html,css,wordpress,wordpress-theming
I am using wp_register_style and wp_enqueue_style to add stylesheets to my custom theme. Locally it works as expected, however, on my staging machine instead of adding a link to the CSS file I have specified, it places the CSS directly in my HTML, like: <style id="titilium-font-css" media="all"> /* CSS styles...

php,html,css,wordpress,wordpress-theming
So this is my first time using StackOverFlow and I looked for a solution for this problem everywhere, but none of them were helpful. I am currently editing a page on a WordPress blog that has a form. So, to make it easier to handle, I separated the fields in...

wordpress,apache,wordpress-theming,mod-pagespeed,underscores-wp
ISSUE: On page reload of a Wordpress 4.1 custom theme, I get the error "GET ... /%3Cscript%20pagespeed_no_defer= 404 (Not Found)" in my console, and on the web page it shows script. If I refresh a few more times, it goes away, then another refresh and it returns. GOAL / QUESTION:...

php,wordpress-theming
When I was installing the theme customizr I got this error. Now I am not able to login to my website. Whenever I login it gives following error: URL of my website is www.nileshaswani.webuda.com you can check it out. PHP Error Message Warning: require_once(/home/a6084419/public_html/wp- content/themes/customizr/inc/init.php) [function.require-once]: failed to open stream:...

html,css,wordpress,wordpress-theming
When on Wordpress I use font Pre, instead of seamlessly showing up formatted as Fixed space font, which I was going for, I get fixed space font inside rectangular space area, colored in gray color to accentuate itself it has horizontal and vertical scroll bars on right and bottom, with...

javascript,ajax,wordpress,wordpress-theming,buddypress
I've built a child theme of Divi Theme to use with Buddypress. So far so good, except for a script conflict on commenting buttons. The theme load a javascript (js/custom.js at 2642:2662) with the following function: $( 'a[href*=#]:not([href=#])' ).click( function() { if ( $(this).closest( '.woocommerce-tabs' ).length && $(this).closest( '.tabs' ).length...

php,wordpress,wordpress-theming
Despite that I have added the <?php comments_template(); ?> to single.php it seems like it's not working! I'm note sure, but why are the comments in the list of comments to be approved empty? The fields for name, email and URL and the content are empty for each comment. Should...

wordpress,wordpress-theming,web-deployment-project
I am learning wordpress by myself. I have a question about theme option for theme development project. I want to know that is it very important to create a theme option system in theme development project? Is it compulsory?...

wordpress,wordpress-theming
Im reading this tutorial Wordpress theming about converting an html site to WP, and it says WordPress has a hierarchy of templates. None of them are called index (that name is reserved) so we need to rename our index file to something else. So as per tutorial I renamed index.html...

wordpress,wordpress-theming
I've already built a simple theme for my website on Wordpress, but running automated tools like Theme Checker showed me my theme doesn't have many important functionalities. After suggestions from many developers on multiple websites, I decided to learn it from the default TwentyTen theme. To the professional developers, in...

css,wordpress,user,wordpress-theming
Is there a way to edit the dashboard based on the user ID? I know this is relatively straight forward when targeting a user role, but how about ID? For a working example, something along the lines of changing the admin menu background color for the user ID of 7....

php,wordpress,wordpress-plugin,wordpress-theming,wordpress-plugin-dev
I have built a site in WordPress and the client wants to control things through WordPress but he wants the live version to be static for which someone told me to use StaticPress plugin. He would like to have the WordPress version internally hosted and the live version would be...

javascript,wordpress,slider,wordpress-theming,slideshow
I'm using the Kenb effect slider on WordPress. I would like the slides to load in a random order. Is that possible? I think this is the relevant js below. You can also see the site at: http://goo.gl/yBGZAk (function($){ $.fn.kenburns = function(options) { var $canvas = $(this); var ctx =...

php,wordpress,wordpress-plugin,wordpress-theming,wordpress-plugin-dev
Coding a new version of my own Wordpress plugin, this time using OOP to make it more readable for other collaborators. It is based on Wordpress Plugin Boilerplate and also Cuztom, to facilitate the creation of Custom Post Types. My CPTs are created, they update well. Although I can call...

wordpress,search,wordpress-plugin,wordpress-theming
Please take a look on this WordPress theme, when you click on search icon, a search box appear in the middle of page with a cool effect. I want to add this to my WordPress site. I have looked on google but still no luck, Please suggest me a plugin...

php,wordpress,loops,wordpress-theming
I have post type called 'sisallot', which has 5 subcategories. Lets call these subcats s1,s2,s3,s4,s5. Every subcategory has a couple of subcategories (these would then be ss1,ss2..etc.) and these ssubcategories has the final posts to get. I've added first level subcategories to my navbar. The question is: How can I...

php,wordpress,wordpress-theming,wordpress-loop
I am kinda unlucky to find a proper solution in order to display posts by their category. I made a page template that should be supposted to be used in order to display posts by category. Lets say there is a page "Cats" and page "Dogs" and the same named...

css,wordpress,wordpress-theming,blogs
On my blog landing page the body_class() injects the blog style (http://madgreens.com/blog). But, when a blog page loads, the single-post style is injected (http://www.madgreens.com/blog/2015/02/chicken/). I did upgrade 4 plugins recently but have moved them to a folder 'plugins-temp' until I sort this out. Is there a way to force Wordpress...

jquery,css,wordpress,wordpress-theming,css-animations
I'm still growing in web development, so I hope this doesn't come out too "noob". I have a logo on a webpage I'd like to animate using a css library when its hovered on. I'm using Dane Den's Animate.css library to implement the animations and I already enqueued the css...

wordpress,wordpress-plugin,wordpress-theming,wordpress-loop
Please any one know how can i do this .I have a form in my site front end ,when filling the required field in the form and submit then these entries are saved as a new post in custom post type . For this i use $post = array( 'post_title'...

css,wordpress,responsive-design,wordpress-theming,responsiveness
I'm working with a theme that is supposed to be responsive but when the two column shortcode is used and a page is viewed on smaller browsers or mobiles, the columns shrink to fit the browsers width side by side instead of stacking. It looks awful on smartphones, I am...

wordpress,wordpress-plugin,wordpress-theming
There is a plugin that has all of its presentation functions declared so that they can be overriden. I.e.: if (!function_exists('show_thing')){ ... } How should this be done? I tried declaring the function in my themes functions.php but it was already declared by that point of execution. If I create...

wordpress,wordpress-theming
I have a question about premium themes in general, not a specific one. When you need to update a premium theme, a lot of websites suggest that you deactivate and delete your existing copy of the theme. Then you're supposed to upload and activate the new version. I'm not a...

wordpress,wordpress-plugin,wordpress-theming
I'm in a spot where my Constant Contact plug-in is triggering a problem on the Wordpress back-end and causing issues with the WYSIWYG editor. I've had this type of issue countless times before, and I'm just wondering if there's a way to ONLY load particular plug-ins on the FRONT of...

php,wordpress,wordpress-theming
I'm a starting out wordpress theme developer and am contemplating using the underscores starter theme. The issue I seem to have in my head is that I will be building themes for intended for general public rather than clients, so I will need to come out with new theme updates...

wordpress,hyperlink,wordpress-theming
I have newly created a free WordPress blog account and started writing my first post. What I notice is that the insert link/edit link never gets highlighted, which means none of the external links can be inserted. I tried changing several themes and the result is the same. I have...

php,wordpress,file,wordpress-theming
I am looking to redirect users who are not logged in on any page of my WordPress website to a /welcome page which will have a sign up form on. This is pretty essential as it is a small social networking site. I am also trying to do this without...

ajax,wordpress,themes,wordpress-theming
I want to create a theme in which the website page slides out and slides in. I already have the website link which is not developed in wordpress. I am trying to create the exact same theme for the wordpress the functionality of sliding the page out and page in...

css,wordpress,wordpress-theming,html-lists
I need to center the items on a list of my social-media menu (the 4 icons under the title on the sidebar). I got to made them distribute evenly (each item width is 25% since I have 4), the "ul" is displayed as table. However, the icons inside each "li"...

wordpress,wordpress-plugin,wordpress-theming
Is there any helper for creating WordPress widgets? I fount this https://github.com/sksmatt/WordPress-Widgets-Helper-Class but it have not been updated 3 years. Is there any good solution?...

javascript,php,wordpress,image,wordpress-theming
This question already has an answer here: creating an image in php, display works, saving to file does not 3 answers Let say I have this code in my "image.php" file that will create a new GD image stream and output an image: header ('Content-Type: image/png'); $im = @imagecreatetruecolor(120,...

php,wordpress,wordpress-theming
I am a developer who has never used wordPress before and just had a couple of questions about creating a custom theme To create a specific look to a website do I create a static design then inter grate it with wordpress and add the dynamic content where it needs...

php,wordpress,frameworks,wordpress-theming,redux-framework
I am trying to include the Redux Framework in my theme. I decided to try the online builder of Redux Framework: http://build.reduxframework.com/ to generate the necessary files for me. The builder of Redux provides two options: (1). To generate and export the admin folder. (2). To generate and export a...

php,wordpress,pagination,wordpress-theming,wordpress-loop
I created a WordPress template file with latest posts and pagination. But when I set this page as the home page, the pagination wont work and it'll display the first page. As a standalone page it does work. Strange! Any thoughts about this? <?php get_header(); ?> <div id="primary" class="content-area clr">...

html,css,wordpress,wordpress-theming
I have a problem with one WordPress theme. This is URL of my site and if you scroll down to the iFB section then you will see a video there. I have entered this code to put it to this page <iframe src="https://www.youtube.com/embed/KO2hFoKDh18" width="560" height="315" frameborder="0" align="middle" allowfullscreen="allowfullscreen" ></iframe> but...

wordpress,xampp,localhost,wordpress-theming,subdomain
In my localhost(xampp) wordpress themes are installed. I activate one of them And create user name and password for the wp-admin. And I backup database and wordpress site and upload it to subdomain(live site). After upload all content will load without CSS style-sheet. And wp-admin also not working. And url...

php,html,wordpress,wordpress-theming,custom-post-type
I'm making a child theme from this theme (limo) and I am trying to do two things without success, so here's my questions: How can I get a permalink from a post_type? As you can see on this demo (the "Our Works" part), I would like to get the link...

php,wordpress,wordpress-theming,wordpress-loop
I created slider in wordpress on category and post thumbnail. I tried to add active class to first item in my loop, but loop show this class in all items. How can I fix that ? Here is my loop: <div class="carousel-inner" role="listbox"> <?php $c = 0; $class = '';...

css,wordpress,wordpress-theming
Basically, there should be a checkbox image next to each service, loaded from the child theme's style.css using the "content" property. This is what the css looks like from the child theme's style.css: content: url(../clos/images/checkboxes.png) left top no-repeat !important; Except the image is in that folder and in a child...

wordpress,wordpress-theming,wordpress-loop
I am doing a project on wordpress theme. Wordpress has a function call do_shortcode but when I implement it, the code is not working. The output of the $metagallery is [Best_Wordpress_Gallery id="1" gal_title="Gallery 1"] Why isn't it working when I echo using the function do_shortcode? <?php $metagallery = get_post_meta($id, '_jdev_custom_meta',...

wordpress,wordpress-theming
Good afternoon. Prompt huk for group the admin dashboard to submenu. As it looks now As I want that it looked |Cyprus (main) |-->News (sub) |-->Cities (sub) |-->Villages (sub) |-->Stories (sub) ...

wordpress,tags,wordpress-theming,wordpress-theme-customize
I'm creating a custom tag.php page for a WordPress theme. I need to get the name, id and slug for the tag page that I am one (i.e. www.site.com/tag/fruit/ )... I see tons of examples online about how to list the tags for a page/post, but none that say how...

php,wordpress,wordpress-theming
We need to be able to be able to fetch an array of all stylesheets/scripts loaded by the wp_head/wp_footer functions both using PHP from the functions.php file in the WordPress theme. Is there a way to do this? My reason for doing this is we have a custom PHP script...

php,css,wordpress,wordpress-plugin,wordpress-theming
I just faced this problem recently, I don't what causes it . But I need help fixing it. The error are : http://www.udesign.my/aaf4/wp-admin/admin-ajax.php?action=woocommerce_checkout Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://fonts.googleapis.com/css?family=century+gothic+:300,400 Failed to load resource: the server responded with a status of...

javascript,html,css,wordpress,wordpress-theming
A friend asked me to create a webpage for their wordpress website. I've created the page using raw HTML, CSS, and Javascript. However, when I log in to their wordpress account online I cannot figure out how to upload the file or even make a link to it? Help would...

wordpress,wordpress-plugin,wordpress-theming
I am building a simple plugin of wordpress, and trying to use theme's function into plugin's file, but it is saying "Call to undefined function", while that function exists in themes.php of current active theme.that function is in use in theme's files but can't accessible in plugin's file, can anyone...

wordpress,wordpress-theming,wordpress-plugin-dev
wordpress gives API for all plugins including change log , version , details, screenshots..etc in http://codex.wordpress.org/WordPress.org_API For example https://api.wordpress.org/plugins/info/1.0/BuddyPress Same way themes and wordpress every version i need to get these details. i have tried with https://api.wordpress.org/themes/info/1.1/ and it shows nothing and i do not know where to modify this...

regex,wordpress,wordpress-theming,sublimetext,stripslashes
Hy, I created a WordPress Theme using a lot of custom options. While saving the options in the backend amongst other things I'm adding backslashes before characters that need to be escaped. Such as ' and ". Now I need to remove them before displaying them on the frontend. The...

html,wordpress,templates,wordpress-theming
I can't figure out what I'm doing wrong... I have built a theme for my blog that worked on my local server(using mamp) when I was building on that. Since then I've moved my site online but now the template for the blog doesn't get applied to the blog page....