Top new questions this week:
|
I am trying to include a dynamic css in my plugin, I have been searching anywhere but doesn't find any case that is similar to what I do. And what I use to do it is by adding a css file directly into …
|
So I am developing a wordpress theme using a series of LESS files for the CSS. These compile using codekit to a combined and minifed stylesheet that I use for the theme's styling.
I understand a …
|
I've been playing around with code snippets which add meta data to admin searches.
The best snippet I've found was written by Stefano on this question.
However, it appears to have 1, annoying bug …
|
I noticed a lot of developers of WordPress themes would use this in functions.php
if (function_exists('register_nav_menus')) {
register_nav_menus (array('primary' => 'Header Navigation'));
}
…
|
I'm going to test the user agent to load a mobile template instead of the desktop theme.
There are many mobile detection scripts out there.
Does wp_is_mobile() function work well?
What is your …
|
I have a menu with parent and child. I created menu from admin panel using Appearance >> Menus with selecting page. But some of my parent pages content empty so i want to set link(null) when page …
|
I know it's easy stuff, but I'm new to this and I can't understand which is the best approach.
Background
The template I'm working on is a dual theme Desktop/Mobile, UA Sniffing based.
Now I just …
|
Greatest hits from previous weeks:
|
I am looking for a way to test if a post is a custom post type. For example, in say the sidebar I can put code like this:
if( is_single()) {
//code here
}
I want code were I could do …
|
I have created a Custom Post Type called 'listing' and added a Custom Taxonomy called 'businesses'. I would like to add a dropdown list of Businesses to the admin list for the Listings.
Here is what …
|
Can you answer these?
|
I'm trying to add ReCaptcha to my login page. I know there are many many plugins by per request I cannot use plugins. So far so good, I'm able to add the Captcha to my login but unable to show errors. …
|
Although there's a number of plugins that display EXIF data in your posts or remove EXIF data altogether to save space, I couldn't find a solution to manually edit EXIF data for whole bunches of …
|
Here's what I'm trying to do...
I'm trying to send new submissions only to contractors requested. Using Role Scoper, I can select only users who can access the new submission. However, I am looking …
|