The server-side programming language that the WordPress core, plugins and themes are written in.

learn more… | top users | synonyms (1)

0
votes
2answers
14 views

Output 2 items within the Loop

I have a query that loops through <li>'s and displays the number of <li>'s I have. Is there a way I can make the loop pull 2 <li>'s at a time rather than one? // 5 list items ...
0
votes
2answers
23 views

Strip <p> from <blockquote> or something better?

Looking for some help on something that has me really contemplating not using blockquotes for the moment! I have this code: <?php $show_after_p = 1; $content = apply_filters( 'the_content', ...
0
votes
1answer
25 views

How to display only one category in a custom post type?

I have a custom post type called 'portcat' and I want to display the results of only one portcat category ('games' - which has an ID of '3') on my page. The below code displays all of the categories ...
0
votes
1answer
16 views

Add a select-option to the default widgets

I would like to add an extra feature to one of the default widgets so that the user can choose from the select-field to either align the widget to the left, center or to the right. How would I be ...
-3
votes
0answers
17 views

When updating CSS file, text size & centering won't work in CHROME [closed]

When updating the text size and centering it in my main CSS file, it works perfectly in IE and FF but no matter what changes I make, the don't appear in Chrome. Is there anything I need to add to the ...
-3
votes
0answers
10 views

Images in 3 column portfolio are centering slightly off [closed]

I am wanting to center images on a 3 column portfolio page but when I use this code, the image centers slightly off kilter. Is there anything I need to change to make it center perfectly? ...
0
votes
0answers
13 views

How to disable controls in theme customizer?

I am trying to figure out how to disable controls in the theme customizer but I can tell there isn't really much if any info on doing so. More specifically I am looking to implement some basic logic ...
1
vote
1answer
19 views

How to remove a metabox from menu editor page?

I am not sure if it is much different for any page but I am wondering how to remove a metabox from the appearance>menu page without having to go into the wordpress core files and remove it. Is there ...
0
votes
1answer
14 views

If 'editor' is empty, then

Is there a way to write a php conditional in WordPress that says: "If 'editor' is not filled out (i.e. empty), then, do some code..." I know it's sort of a strange request but basically I have a ...
0
votes
1answer
17 views

Where can I find the code for the menu page meta boxes?

I want to add a meta box to the menu page. More specifically I want to basically clone the pages or category meta box and have it load the items into the list from a meta key, instead of pages or ...
0
votes
1answer
55 views

Mail not sent when I set HTML headers

$subject = get_the_title(); $sender_name = get_bloginfo('name'); $blog_url = get_bloginfo('url'); $to = '[email protected]'; $subject = 'the subject'; $message = 'hello'; $headers = ...
0
votes
1answer
37 views

Bare minimum to include in PHP file to use WP functions? [duplicate]

I'm finding the documentation on coding WP stuff to be very lacking and can't figure out which files I need to include in my PHP script to get a bare minimum working code environment? Example: I want ...
0
votes
0answers
8 views

How to add default images into theme customizer image control?

I am trying to figure out how I can pre-load a theme customizer image control with images I have selected. Is their a way to point the control to a directory so they automatically show up in the ...
0
votes
1answer
12 views

How can i remove the icons, or change that icons

How can i remove wordpress multi site, or how can i change that icon? http://i39.tinypic.com/6z206a.jpg Thanks in advance
0
votes
3answers
30 views

How do I find PHP file that contains content of my page?

Let's say I have created a page in admin dashboard and put some content in it. How I can find PHP file in my hosting file manager that contains that content?

1 2 3 4 5 109
15 30 50 per page