The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
30 views

set custom value on default admin columns based on row values

I added some foreign key to wp_comments db table. Some comments could be indipendent from post. For these comments I've comment_post_ID set to 0. So i need something like: ...
0
votes
2answers
114 views

creating single page with 2 columns while theme is 3 column

I am using Diapason theme , which gives me an option for both 2 column or 3 columns...My requirement is 1:- all pages except home page (static) should have 3 columns 2:- Home Page should have two ...
0
votes
0answers
506 views

Adding custom fields to the Quick Edit screen - puzzled about the column concept

We've been told that: The quick_edit_custom_box action hook will not fire unless there are custom columns present. (Source^) If so, then adding a custom field edit functionality to the Quick ...
0
votes
0answers
389 views

Change column of row action (Quick Edit) links in WP_List_Table

Is it possible to move the "Edit | Quick Edit | Trash", etc... links (A/K/A "Quick Edit links") from a table generated by a custom post type registration into a different column other than the "Title" ...
0
votes
1answer
71 views

Trying to achieve row posts below category with multiple loops in custom tax

hoping someone here can help a noob. Ideally I'd like to get a featured post from a category 'Featured Club' to display above three posts from the same custom post type. I've got the following ...
0
votes
1answer
926 views

Display WP posts in 3 responsive columns

I'm trying to display 6 random WordPress posts in 3 responsive columns, 2 rows, by using: <?php $the_query = new WP_Query("showposts=6&cat=1&orderby=rand");?> For example, ...
0
votes
2answers
527 views

Make custom post type column sortable

My site has two custom types: Auction and Lot. Lots are connected to an Auction via the post_parent field. I added an Auction column to the Lots list in the admin area. function ...
0
votes
0answers
199 views

displaying child pages in columns when on a parent page

I would like to display sub pages in columns. Some parent pages have a lot of sub pages and the scroll is very long. I am currently using the below code to display sub pages. ...
0
votes
2answers
116 views

How to create three columns from selected posts

I would like to create a three columns with 3 selected posts. They must include image and title. Like this http://i.imgur.com/tXg0bv3.png How to create it in CSS and HTML? This is very important for ...
0
votes
1answer
93 views

Placing the content of one post in two side by side columns, newspaper style

I'm trying to place two columns side by side like a newspaper does and display one post's content within both. I've been trying to explode the content at my h4/90 words and echo the rest of the ...
0
votes
2answers
381 views

Split custom post list into two columns

can anyone help me split this custom post type into two lists? i'm a novice PHPr but have been left with this code by someone who said it was too complicated... function listforcontinent($name, $top ...
0
votes
2answers
444 views

Remove custom taxonomy column from my custom post type columns

I am using wp 3.5 i have a custom post (sp_product) and also i have custom taxonomy. I want to remove that custom taxonomy filter column but i don't want to make 'show_admin_column' => false. I ...
0
votes
1answer
64 views

Sortable columns by meta value holding a date - can't get it to work

I'm trying to sort the posts (in the edit screen (wp-admin/edit.php)) by meta value corresponding to an event date but I can't get it to work properly... For example, ASC returns: 2012/10/12 ...
0
votes
1answer
133 views

Simple Data Table Update and Page Integration

There are a variety of tables (page-level, not database) in a website I manage that need to be regularly updated. The difficult issue is that this information is often only one or two data columns, so ...
0
votes
2answers
2k views

Split columns into three+ divs?

I got this code (source) // split content at the more tag and return an array function split_content() { global $more; $more = true; $content = preg_split('/<span ...
0
votes
1answer
648 views

How can I add buttons to a custom column in the taxonomy table?

I am working on an issue-based publishing system for a friend of mine. So far I have created a custom taxonomy called "Issue"; added several custom fields to the custom taxonomy (like "Issue number", ...
0
votes
2answers
544 views

Please help me to win the battle with 2 column loop by category

I need help with this code. How can I change the code so that the posts from one category to be arranged like the this scheme. scheme picture <?php ...
0
votes
1answer
212 views

Why values dont shows in custom post column?

I have some trouble. /* Catalog */ function my_post_type_catalog() { register_post_type( 'catalog', array( 'label' => __('Catalog'), 'public' ...
0
votes
1answer
1k views

Remove filter and view options from custom post type edit screen

I have my CPT edit screen almost looking how I want it but want to remove the filter and view options from this screen as they are not needed for this interface. How do I remove them? Are there any ...
0
votes
3answers
1k views

How can I display only the post titles from a selected category in columns?

I'm working on a website where the client wants a static page displaying information about a certain category. Then under the static information she wants all the posts from that category in a 2 ...
-1
votes
1answer
42 views

wpdb query with dynamic column name?

How can i dynamically set a column name in $wpdb query? i tried $which_column = 'phone'; $data_check = $wpdb->get_var("SELECT '.$which_column.' FROM wp_shopping_preferences WHERE wp_user_id = ...
-1
votes
1answer
250 views

Specify Table Column Width on a Page

I currently have the following html on my Wordpress page <table border="5"> <col width="50"> <col width="100"> <tbody> <tr> <td> ...
-1
votes
1answer
237 views

How to insert a column (part of theme) in the middle of the content body?

Was asked to simplify the question. Here we go: As you know, the "content" part of a WordPress posts all appears together. What I'm trying to recreate is how on several news sites, they'll have the ...
-1
votes
1answer
34 views

Can't sort custom column on user.php by number / meta_value_num?

Everything else works fine but it's still not sorting by number. Would just like to know what I'm doing wrong here Here's the code function add_user_columns( $defaults ) { ...
-1
votes
1answer
376 views

How can I get on the same row two post of different categories?

Let me explain better, I have two categories and I want to show a page with two columns one for each category, after this I like to show in the same row each post of each category on each column, just ...
-2
votes
1answer
485 views

How to have two column on my index page?

I want two full columns after the header and main menu bar on my index page. Seems simple, but googling and prowling the wordpress.org site hasn't gotten me anywhere. Short explanation + a link to ...