• I realized that the image only works if I edit the post and do repost.
    I tested on facebook debug and it is 100% see:

    [ Redundant link removed ]

    if you click the button that I made available you will see that it is working only in your plugin that it does not pull image correctly, have any hook that I can do or any idea of yours?

    • This topic was modified 6 years, 11 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 31 through 38 (of 38 total)
  • Thread Starter zsvendo1983

    (@primo1983)

    All this above I did and it did not work, I did not understand what you want? because using the type is CPT that works in the code I sent you, since the plugin does not work, you can simply test.

    See how my CPT is done within the posts

    https://prnt.sc/j7bgb7

    Could you please provide a link ,from where we can download the custom post type ‘columnist’ you are using?
    ie,the downloadable link to the plugin source code that make the columnist custom post type.

    Thank you.

    Thread Starter zsvendo1983

    (@primo1983)

    // Register Custom Taxonomy Columnists
    function custom_taxonomy() {
    
    	$labels = array(
    		'name'                       => _x( 'Columnists', 'Taxonomy General Name', 'text_domain' ),
    		'singular_name'              => _x( 'Columnist', 'Taxonomy Singular Name', 'text_domain' ),
    		'menu_name'                  => __( 'Taxonomy', 'text_domain' ),
    		'all_items'                  => __( 'All Items', 'text_domain' ),
    		'parent_item'                => __( 'Parent Item', 'text_domain' ),
    		'parent_item_colon'          => __( 'Parent Item:', 'text_domain' ),
    		'new_item_name'              => __( 'New Item Name', 'text_domain' ),
    		'add_new_item'               => __( 'Add New Item', 'text_domain' ),
    		'edit_item'                  => __( 'Edit Item', 'text_domain' ),
    		'update_item'                => __( 'Update Item', 'text_domain' ),
    		'view_item'                  => __( 'View Item', 'text_domain' ),
    		'separate_items_with_commas' => __( 'Separate items with commas', 'text_domain' ),
    		'add_or_remove_items'        => __( 'Add or remove items', 'text_domain' ),
    		'choose_from_most_used'      => __( 'Choose from the most used', 'text_domain' ),
    		'popular_items'              => __( 'Popular Items', 'text_domain' ),
    		'search_items'               => __( 'Search Items', 'text_domain' ),
    		'not_found'                  => __( 'Not Found', 'text_domain' ),
    		'no_terms'                   => __( 'No items', 'text_domain' ),
    		'items_list'                 => __( 'Items list', 'text_domain' ),
    		'items_list_navigation'      => __( 'Items list navigation', 'text_domain' ),
    	);
    	$args = array(
    		'labels'                     => $labels,
    		'hierarchical'               => false,
    		'public'                     => true,
    		'show_ui'                    => true,
    		'show_admin_column'          => true,
    		'show_in_nav_menus'          => true,
    		'show_tagcloud'              => true,
    	);
    	register_taxonomy( 'columnist', array( 'post' ), $args );
    
    }
    add_action( 'init', 'custom_taxonomy', 0 );

    Now I attached the image to this taxonomy see in the pictures
    https://prnt.sc/j7bx2v

    Thread Starter zsvendo1983

    (@primo1983)

    waiting for your position, because your return is once a day, this has taken more than 15 days, it’s complicated.

    Are you using Advanced Custom Fields plugin for inserting image?

    Thread Starter zsvendo1983

    (@primo1983)

    Yes

    Advanced Custom Fields plugin doesn’t save the image when publish the post.
    The image is not available when transition_post_status hook is called.
    The code you provided won’t work when adding a new post,it only works or fetch the image on post edit. So you might ask the plugin developer to assist.
    Or make the post as wordpress scheduled posts.
    Hope this helps.
    Thank you.

    Thread Starter zsvendo1983

    (@primo1983)

    How to talk to you, if on the site you do not respond, by email do not respond. take a day to respond, then take the plugin out of the air.

Viewing 8 replies - 31 through 38 (of 38 total)
  • The topic ‘Do not search the image in insert’ is closed to new replies.