The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
300 views

Grabbing the first image attached to a post and use it with the admin columns

I'm currently using @kovshenin's tutorial here on adding a thumbnail (a featured image) to my post type admin columns. Would it perhaps be possible ( and how :) ) to retrieve the first image attached ...
1
vote
1answer
454 views

How do I access the menus produced by Dashboard > Appearance > Menus

A continuation to this question: Replacing WordPress menu functionality with a plugin Since I really rarely work with WordPress (I've done a lot of work with phpBB, myBB, Concrete5, and custom PHP ...
1
vote
0answers
972 views

Multiple columns in add/edit post/page? [closed]

If you go to the WP main Dashboard page, the screen options allow you to have 1-4 columns for the screen layout. When you get to the Add/Edit Post/Page pages (/wp-admin/post-new.php and ...
0
votes
3answers
1k views

Custom Post Types: Custom columns with Title submenu?

When viewing non-custom Posts, you get the likes of this submenu: I'm not using a title - I'm using custom columns with two fields concatenated: Is there any quick and easy way of adding the ...
0
votes
2answers
709 views

Wordpress Theory Lesson - Image Columns within posts with alignment?

Trying to get my head round a request from a client, and thought I'd try to hivemind the solution a little bit. The client requires a two column post layout, with images down the right and text on ...
0
votes
1answer
173 views

4 column-loop ordered alphabetically with entries grouped (and labeled) by their first letter

I found some code for creating multi-column WordPress loops and I found some code for entries grouped by letter of the alphabet. But I can't quite get the code to work together...the order is a bit ...
0
votes
1answer
49 views

Problem with $post_id object's property

Dealing with retrieving CPT metadata I find out two methods get_post_meta() and get_post_custom() to return the value(s) of the custom fields with the specified key from the specified post. Both ...
0
votes
1answer
83 views

Split function “the_tags” in 2 columns

I have the following function that returns the tags of the current post: <?php the_tags( '<ul> <li>', '</ li> <li>', '</ li> </ ul>' ); ?> Example: Is ...
0
votes
2answers
205 views

Two columns in homepage each with one category

I modifying a wordpress template to be left with two columns on the main page with the following structure: The first 4 are of a category and the last 4 of another The index code is: ...
0
votes
1answer
1k views

Pods CMS: How to add custom column to Adnvanced Content Type

I'm using Pods plugin (ver 2.2) to create some 'Pods' or Advanced Content Types, as they would refer to it, which are like custom post types but are actually separate from WP, blank slate, in their ...
0
votes
1answer
705 views

Custom columns for taxonomy list table

I have the following code to add a new column to my taxonomy edit screen (edit-tags.php?taxonomy=book_place&post_type=books) function add_book_place_columns($columns){ $columns['foo'] = ...
0
votes
2answers
678 views

Custom Columns WordPress Admin

I am just about finished creating custom columns through the WordPress admin panel. The custom post type I am using is called "slides". I figured out how to add the column titles and all of the ...
0
votes
1answer
436 views

No three-columns template in TwentyEleven?

I am just jumping into the TwentyEleven bandwagon, and I am a little puzzled by the apparent absence of a 3-columns template file... It is advertised in the theme description though. Am I missing ...
0
votes
4answers
949 views

Display Custom Taxonomy in Sidebar in Two Columns

I have a custom post type (photos) with a custom taxonomy (categories) and I'd like to display the taxonomy list in my sidebar in two columns. I have a modified snippet that I found elsewhere to do ...
0
votes
1answer
512 views

Pages with 2 Columns

I've had a look at many of the available plugins but they all seem to be too difficult to use or do not provide enough flexibility. Plugins I've already tried: WP Post Columns Magazine Columns WP ...
0
votes
1answer
29 views

How to pull posts into two columns with different image sizes using $counter variable?

I have a custom module pulling one specific category with 6 posts displaying the featured image into 2 columns. I like the first article of the top of each column to display a large image as shown in ...
0
votes
2answers
117 views

How to get my loop to pull posts into three columns

I have my page template pulling one specific category & pulling the featured image & title into 3 different columns on my site. The problem is they all pull the CSS class .proj-left how can I ...
0
votes
1answer
176 views

Divide post content in three columns

Is it possible to split the_content() into three equal size columns? I have tried to achive that by getting this code which I found here <?php $content = get_the_content(); ...
0
votes
1answer
905 views

Adding first and last classes to three column layout in Bones boilerplate

I'm using the bones boilerplate theme in Wordpress and on the homepage am displaying a section containing three columns for the latest three posts in Wordpress. The bones theme uses the responsive ...
0
votes
1answer
55 views

Add column in WP user but it goes wrong

I add a column to users page, it goes wrong when checkbox is not in correct position. This is my code, can you help me to move checkbox to the correct position? public static function ...
0
votes
1answer
35 views

Change default post style to columns

I'm trying to format each post that the user uploads. I need the paragraphs to be floated to the left in the first column, and the images to be in a floated left in the second column. (I've tried ...
0
votes
1answer
90 views

custom field in admin columns

Im trying to understand how to get the custom field incr_number into admin columns. However im failing to understand and im googling but not finding a direct answer. It cant be that hard surly? ...
0
votes
1answer
510 views

Sorting custom post types in edit.php : Post disappear

I've got a few custom post types with different taxonomies and I have a function that adds certain categories to post list view in edit.php admin screen. Everything good there. I've also added a ...
0
votes
1answer
322 views

Split multiple categories into two columns

What is the best way to split multiple categories into two columns on the page? At this moment I don't need category-A to go into column-1 and category-B/C/D to go into column-2. I just need multiple ...
0
votes
1answer
780 views

Split content into multiple columns using more tag?

First of, this is pretty much an exact duplicate of: Split columns into three+ divs? But the given solution does not work (returns blank). I'm guessing it collides with qTranslate which adds some ...
0
votes
1answer
159 views

create 2 custom columns in page edit in Admin panel

Hey all i have this code here: if ( !function_exists('AddThumbColumn') && function_exists('add_theme_support') ) { // for post and page add_theme_support('post-thumbnails', array( ...
0
votes
2answers
576 views

Divide the list into two columns (get_posts)

The function below lists posts based on custom field. The result is involved in a list <li></li>. What I would like to do is count how many list items there are, then divide it into two ...
0
votes
1answer
421 views

How do I create a column down the right-hand side of my site?

How do I create a column down the right-hand side of my site? I changed a setting on one of the pages some time ago, and on that page I have the result that I'm looking for: On this page: ...
0
votes
1answer
182 views

Wordpress pagination with wp_query_columns

I'm using the code from here to split my loop up in to columns. The columns work. I have 7 posts in the databese and showposts set to 6. I cannot get nextpage link to show? I have a $paged variable in ...
0
votes
2answers
653 views

Custom Post Type, Two categories, Two columns with Pagination

I searching a lot to found a way solves that and no luck at least. Sorry for my unpulish english, I do my best explaining my issue. I have a Custom Post Type called 'Events' this have two categories ...
0
votes
1answer
1k views

How to divide and display categories into two columns

I am using custom taxonomies. I have multiple categories and each category has multiple children. I would like to display the categories in two columns on my homepage similar to linkcentre.com. I ...
0
votes
1answer
646 views

How to Split loop in multiple column in archive page

hi i got this code from a post, i want to split loop into 4 column this is a archive page i want to limit 1 post in first column 1 post in second column 4 posts in third column 5 post in fourth ...
0
votes
1answer
260 views

Add ASC / DESC to custom post columns

Im using the following code to create custom columns in the backend of the posts menu. add_filter('manage_edit-post_columns', 'post_edit_columns'); function post_edit_columns( $columns ) { ...
0
votes
1answer
438 views

Custom sortable column with WPAlchemy

I'm a WPAlchemy enthusiast, this class really enhance my productivity, but there is some things I don't understand. I started to create a custom post type for products, with description, price and ...
0
votes
1answer
799 views

split wordpress loop into columns of categories and associated posts

Here is what I need to do with 5 columns on the "archive" page: I can already loop through the categories and posts in a loop to display them quite nicely, I just cant figure out how to split it into ...
0
votes
1answer
17 views

Centering items in a row, when you don't know how many items [closed]

I have the following custom query which outputs a set of items inside a container. <div class="container-hotel"> <?php // The Loop if ( $venue_query->have_posts() ) { while ( ...
0
votes
0answers
27 views

Add row counter in Admin area - Custom post list

Hi I add some custom columns to my custom post type listing in admin area. In my functions php: function book_cpt_columns($columns) { unset( $columns['date'] // Ocultar columna ...
0
votes
1answer
19 views

Display Custom Column in CPT Taxonomy

I am trying to add a column to one of my custom post types, but only on the edit taxonomy page. I have a taxonomy registered called "event-categories" for my custom post type "events". I can ...
0
votes
0answers
17 views

Adding 'Edit' and 'Delete' columns in Posts menu

I would like to add Edit and Delete column for the table that displays the list of posts. This is because my client does not know how to edit the post (the link appears when you hover onto the title ...
0
votes
0answers
67 views

How to make a wp_title filter hook change the title column in custom post types reliably

I have written code for a custom post type. The custom post type is loosely based on the cpt-bootstrap-carousel plugin, but only as far as functionality goes. My code makes use of the ...
0
votes
0answers
93 views

Custom Post Type admin order by usermeta value

I would like to allow admins(and users) to order the listing of posts by editor(custom role) last name(ASC or DES) while viewing the listing of posts in the admin area. I have a custom post type that ...
0
votes
0answers
13 views

Default custom column to off

Im currently building a plugin, that adds around 15 custom columns to a custom post type listing with meta data. When registering these columns they all default to being "on" in the screen options ...
0
votes
1answer
73 views

How can I add columns to custom post tables

I have created a custom post type. I also have added a meta box to my custom post type. What I want to do now is add my meta box as columns to my custom post table. My Custom Post add_action( ...
0
votes
0answers
16 views

WPMU add custom colum

I managed to add the columns that I wanted in all the wpmu sites using: add_action('manage_users_columns', 'header_column'); add_action('manage_users_custom_column', 'manage_column', 10, 3); ...
0
votes
1answer
61 views

Custom taxonomy - custom sortable column

I've created custom taxonomy called 'cities' where you can add cities and added custom field ( radio button ) with 2 options: 'Yes' and 'No' ( never mind what that is ). Everythins is ok, I can get ...
0
votes
1answer
129 views

Split loop into columns

I'm trying to split my loop into 4 columns. My logic is very flawed here and my layout is breaking. Such a simple problem, but I'm struggling with it. I essentially need each group of four posts to ...
0
votes
1answer
159 views

looping widgets to organize bootstrap grids

Using twitter bootsrap I want to grid my widgets if in the same position more widgets are present what I mean: having a registered widget register_sidebar(array( 'name' => __('Footer Top', ...
0
votes
0answers
123 views

Multiple columns + Infinite Scroll?

I am trying to create a mashable like homepage so I want to loop posts by post views using WP-PostViews plugin, and make it compatible with infinite scroll. This is the loop code I am using, taken ...
0
votes
1answer
1k views

How to add class or id to shortcode HTML elements?

I have a row elements and 3 columns inside : [row] [one_third]1[/one_third] [one_third]2[/one_third] [one_third]3[/one_third] [/row] How can I add a custom class or id to [row] element ? I need to ...
0
votes
1answer
68 views

How do I count columns on a custom WPDB query?

How would I count the columns of a custom WPDB query? This does work although I need a different kind of output: $sql_assoc = "SELECT * FROM test"; $num_cols = count((array) current($sql_assoc)); ...