Two users attempt to modify a page
Two users attempt to modify a page
Two users attempt to modify a page
try this: <?php //first check if its the category in question if ($cat == ‘1’) { //then if the user is logged in show the content if (is_user_logged_in()){ the_content(); }else{ //if not show the excerpt the_excerpt(); } }else{ // and if its not the category show the content the_content(); } ?> Update Judging by your … Read more
give my plugin a try User Specific Content
I decided against the idea. Answered my question for clarity.
WordPress user accounts are unique to a single installation of WordPress. Even if they are hosted on the same server, there’s no simple way (and, more importantly, probably no secure way) to hook them together. WordPress accounts on WordPress .com can be added to other sites, but not accounts on self-hosted WordPress installations. The only … Read more
You’re best bet might be to make a Custom Post Type. By default, a new post type is hidden from the WordPress archives and blog pages, so no one would see it on accident, but you could still easily link to it with the URL. You could make a post type called something like ‘Work’, … Read more
This may be good starting point for you: http://codex.wordpress.org/Integrating_WordPress_with_Your_Website http://codex.wordpress.org/Developer_Documentation (see function reference for admin-related functions list)
funtion add_profile_page(){ $title_of_page = “page name”; if( null == get_page_by_title( $title_of_page ) ) { $post_id = wp_insert_post( array( ‘comment_status’ => ‘closed’, ‘ping_status’ => ‘closed’, ‘post_author’ => ‘1’, ‘post_name’ => ‘namehere’, ‘post_title’ => $title_of_page, ‘post_status’ => ‘publish’, ‘post_type’ => ‘page’ ) ); update_post_meta($post_id, ‘_wp_page_template’, ‘mycustomprofile’); } } add_filter( ‘after_setup_theme’, ‘add_profile_page’ ); your template page /* Template … Read more
I use CRED from Toolset to create forms for users, which allows to create posts (any type) and upload image. See http://wp-types.com/ This is paid plugin.
WordPress does not save the information about, who created whom. If so, then the most plausible place would be the wp_users table, but as you can see, it is not happening. As you did not find a plugin offering this functionality, you have to create and implement the functionality yourself. How to approach that is … Read more