Serialize $_POST global in wordpress

Depending on the exact functionality you should use different techniques. If you’re allowing post data you would do post meta options (Get_post_meta). User data would be user_meta.. Most all the wordpress database actions are done by submitting through various types of WordPress functions. Sadly without knowing your goal I can’t be more specific.

WordPress Categories from Plugin

I can’t find any argument of post_type in wp_list_categories() You should use taxonomy instead wp_list_categories( $args = array( ‘taxonomy’ => ‘Carousel’ //Carousel is the taxonomy name your plugin use ) );

Differentiate attachment pages in search results

Found out how to do it, I added the following in content.php. I added the second elseif statement and simple put the word Document in there before it displays the title of the page. if ( is_single() ) { the_title( ‘<h1 class=”entry-title”>’, ‘</h1>’ ); } elseif (get_post_type() == ‘attachment’ ) { the_title( ‘<h1 class=”entry-title”>Document: <a … Read more

page creator to leave comments ONLY

There’s probably a way to do this via one of the meta cap filters, but off the top of my head you could use the comments_open filter to check if the currently logged in user is the author of the post and change the output of the comments_open() function accordingly. I’m on the patio, so … Read more