functions attached to manage_pages_custom_column
get fired for every custom column, you have to check the name of the column within the function to only output data for that specific column:
add_action( 'manage_pages_custom_column', 'AddColumnValue', 10, 2 );
function AddColumnValue( $column_name, $post_id ) {
if( 'thumbnail' == $column_name ):
echo 'Header Image data here';
elseif( 'cssColor' == $column_name ):
//code goes here for second column
endif;
}
Related Posts:
- Replace Dashes Before Title in Page List
- Proper method to restrict non logged users into certain pages
- Is there a way to remove or hide individual pages on the Edit Pages screen?
- Different “Text Widgets” in Sidebar on Many Different Pages?
- Create subpage – filter parent pages list
- Creating a 3-column layout on a WordPress Page
- How to add ‘total’ value to custom column title on the posts list page
- Any Ideas for Including “More Tag” with get_pages($args)?
- Adding Page URL to the Pages Admin Table
- Can I change the “Home” text in the menu?
- Alter existing page contents based on url
- Rewrite to load homepage for a different url
- Admin: how to make a custom list filter button send GET queryvars
- creating single page with 2 columns while theme is 3 column
- Add Filter to Ignore a Post/Page or a Number of Post/Pages
- Add custom action to the page listing screen
- When would it be best to hook AJAX functions on a back-end page?
- Display child pages on homepage template
- Custom Filter using meta_value in wordpress admin list not working
- displaying child pages in columns when on a parent page
- page wordpress add extra unwanted stuff
- Adding a filter to wp_edit_posts_query() to prevent hierarchical display of pages
- Add infinite scroll to content splitted post
- remove_action or remove_filter with external classes?
- Passing a parameter to filter and action functions
- Difference Between Filter and Action Hooks?
- Check if wp-login is current page
- How to get current page ID outside the loop?
- How to know what functions are hooked to an action/filter?
- Get a list of all registered actions
- Contact Form on WordPress Sites?
- Page returns 404 with POST variables, but not without
- Custom templates not showing up in template dropdown
- How can I edit post data before it is saved?
- add_action(), add_filter() before or after function
- Get page id by template
- How to create an API for my plugin?
- Trouble understanding apply_filters()
- What is the very earliest action hook you can call?
- Using pre_get_posts on true pages and static front pages
- Get the content of a specific page (by ID)
- remove custom post type permalink
- How to get page title with the page ID?
- Show more than 20 items in pages or posts edit dashboard
- Allowing user to edit only certain pages
- Where is the best place to use add_filter
- How to display last 3 posts (recent posts) in a static page?
- How to give paged links custom title?
- How to set post slug when using wp_insert_post();?
- Remove Actions/Filters added via Anonymous Functions
- wp_headers vs send_headers. When to use each?
- How can I keep the content of my pages version controlled?
- How to load javascript on custom page template?
- How to configure WordPress to handle 75,000 pages?
- How to update page status from publish to draft and draft to publish
- Check if is on child-page of a particular page
- Change page template programmatically ?
- Conditional tag to check if ‘page.php’ is being used?
- Customizing the URLs of WordPress Login and Sign-up Pages?
- Is there any action filter/hook for validating a custom field before publishing the post?
- Apply the_title() filter in post & page title, but not in menu title
- How to disable posts and use pages only
- featured image as background image on pages
- Check IF is a “single product page” and Check the “role” for a Redirect
- A check for if is parent page, if has children, if has grandchildren
- How many filter/action hooks are healthy?
- How to load JS and CSS only on specific Pages using is_page()?
- Listing pages which uses specific template [duplicate]
- Proper way to get page content
- Access the same page from multiple urls (wildcard)
- Create a page without adding a page in the Database
- Earliest hook to reliably get $post/$posts
- Is there a way to change the default page template selection?
- Can I have two child pages of different parents with the same name?
- What methods to use to create small, editable pieces of text for static pages?
- Show Default Editor on Blog Page ( Administration Panel )
- Hide page visual editor if certain template is selected?
- Remove Editor From Homepage
- What is the difference between $paged and $page?
- What does (10, 2) mean when used with add_filter
- multi page password protection
- Create a “Dummy” parent page for a hierarchy in page listing?
- How to only hook on Single.php after content?
- How do I convert a page’s title to lower case?
- Get top level page parent title
- How to add a specific widget to only 1 page?
- Restrict admin access to certain pages for certain users
- page title, parent tilte and grand parent title
- Valid characters for actions, hooks and filters
- add_action ‘manage_posts_custom_column’ in a class [closed]
- Advanced Custom Fields and Yoast SEO keyword analysis [closed]
- Custom sortable columns ordered by meta-value?
- How to add jQuery script to an individual page?
- How to check if a hook is hooked or not?
- How to change “Draft” string for status of custom post type to “Unavailable”?
- Implementing advanced add_* function wrappers
- WordPress page edit does not save selected template
- Add a Page without header and menus?
- What is an alternative to get_page_by_title()?
- Password protect page with multiple passwords