Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author scribu

    (@scribu)

    You can’t, as in you don’t know how to make custom fields editable or that it doesn’t work?

    Thread Starter ferpintado

    (@ferpintado)

    Thanks a lot, I had no read this, sorry.
    One question more, only the admin can edit the posts? or another user can?

    Thanks, again.

    Plugin Author scribu

    (@scribu)

    Everyone with the appropriate capabilities can edit posts. It depends on how you configure your post type.

    Scribu, your plugin is awesome! I do however have an issue I have been struggling with for a while now and can’t seem to find any supporting docs for this. Would you be so kind as to look over this code and tell my why I cant seem to get the editable fields to be placed in the correct span….

    function elist_display_additional_info(){
    	global $post;
    	$custom_options = get_option( 'elist_custom_options' );
    	$custom_options_order = get_option( 'elist_custom_options_order' );
    	$output = '';
    
    	if ( $custom_options_order['et_custom_options'] ){
    		foreach ( $custom_options_order['et_custom_options'] as $custom_option_title ){
    			$cf = get_post_meta( $post->ID, '_et_cf_' . $custom_option_title, true );
    			if ( '' != $cf ){
    				$cf = editable_post_meta( get_the_ID(), '_et_cf_' . $custom_option_title, 'input' );
    				$output .= '<div class="elist_cf">';
    				$output .= 		'<h3>' . esc_html( $custom_options[$custom_option_title]['title'] ) . ':' . '</h3>';
    				$output .= 		wpautop( wp_kses_post( $cf ) );
    				$output .= '</div> <!-- end .elist_cf -->';
    			}
    		}
    	}
    
    	$output = apply_filters( 'elist_additional_info', $output );
    
    	if ( '' != $output ) { ?>
    		<div class="hr"></div>
    
    		<section id="listing_info">
    			<h1><?php esc_html_e( 'Additional Info', 'eList' ); ?></h1>
    			<?php echo $output; ?>
    		</section>

    When the user logs in they are able to edit the post just fine… however I cant get the additional information section of the site to be editable.

    Thanks for your help

    Plugin Author scribu

    (@scribu)

    You’re doing two things wrong here:

    1) Posting in an unrelated thread, instead of opening a new one.
    2) Posting the issue on github and then after only 15 minutes posting it again. This is not ok.

    I’ve already replied on github:

    https://github.com/scribu/wp-front-end-editor/issues/72

    Please be more patient next time.

    Scribu,

    Apologies…. I was uncertain if my post on github worked. thank you for the quick reply!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Front-end Editor] Can't edit Custom Fields on Custom Post Type’ is closed to new replies.