Viewing 15 Topics - 16 through 30 (of 36 total)
Author Posts
May 27, 2015 at 11:04 pm 45383
Olivier Olivier

Hello Towhid,

How did you create your CPT ? I used the plugin Types to that.

Thanks

May 28, 2015 at 3:03 pm 45456
towhid towhid

Hello Oliver,

I have created a custom post type. The custom post type code is here:

function codex_book_init() {
	$labels = array(
		'name'               => _x( 'Books', 'post type general name', 'your-plugin-textdomain' ),
		'singular_name'      => _x( 'Book', 'post type singular name', 'your-plugin-textdomain' ),
		'menu_name'          => _x( 'Books', 'admin menu', 'your-plugin-textdomain' ),
		'name_admin_bar'     => _x( 'Book', 'add new on admin bar', 'your-plugin-textdomain' ),
		'add_new'            => _x( 'Add New', 'book', 'your-plugin-textdomain' ),
		'add_new_item'       => __( 'Add New Book', 'your-plugin-textdomain' ),
		'new_item'           => __( 'New Book', 'your-plugin-textdomain' ),
		'edit_item'          => __( 'Edit Book', 'your-plugin-textdomain' ),
		'view_item'          => __( 'View Book', 'your-plugin-textdomain' ),
		'all_items'          => __( 'All Books', 'your-plugin-textdomain' ),
		'search_items'       => __( 'Search Books', 'your-plugin-textdomain' ),
		'parent_item_colon'  => __( 'Parent Books:', 'your-plugin-textdomain' ),
		'not_found'          => __( 'No books found.', 'your-plugin-textdomain' ),
		'not_found_in_trash' => __( 'No books found in Trash.', 'your-plugin-textdomain' )
	);

	$args = array(
		'labels'             => $labels,
		'public'             => true,
		'publicly_queryable' => true,
		'show_ui'            => true,
		'show_in_menu'       => true,
		'query_var'          => true,
		'rewrite'            => array( 'slug' => 'book' ),
		'capability_type'    => 'post',
		'has_archive'        => true,
		'hierarchical'       => false,
		'menu_position'      => null,
		'supports'           => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )
	);

	register_post_type( 'book', $args );
}

This custom post type is just a test. You can work around and see what is the result.

Thanks.

May 29, 2015 at 2:32 am 45569
Olivier Olivier This reply has been marked as private.
May 30, 2015 at 12:44 pm 45637
towhid towhid

Hello Olivier,

Please provide your login details(FTP) by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

Thank you 🙂

June 2, 2015 at 4:26 am 45920
Yves Yves

Any update here?
Has it been patched and
Solved?

Yves

June 2, 2015 at 10:54 am 45934
towhid towhid

Hello Yves,

Please try above register post type code I have provided to you in your theme’s functions.php and see what happen.

Thanks

June 2, 2015 at 11:05 am 45936
towhid towhid

Hello Olivier,

I have created Book custom post and make a post. Also, I have an edit that post from backend several times but did not notice any loop. Can you please check please.

Thanks

June 2, 2015 at 11:34 pm 46009
Olivier Olivier This reply has been marked as private.
June 2, 2015 at 11:38 pm 46011
Olivier Olivier

Yves,

It’s making it’s way through, I think it may be an inteference with the ACF Plugin custom fields and the WPUF custom fields which were created I don’t know how.

Olivier

June 8, 2015 at 3:24 am 46417
Olivier Olivier

Hello Towhid,

can you give me an update on what I sent you (above post) please ?

Thank you,

Olivier

June 9, 2015 at 4:59 pm 51589
towhid towhid

Hello Olivier,

Please let me know did you delete the Book CPT?

Thanks

June 10, 2015 at 1:54 am 51631
Olivier Olivier

Hello Towhid,

No did not.

Thanks

June 10, 2015 at 12:51 pm 51657
towhid towhid

So, Book CPT is responsible for the loop of Devis custom post?

June 10, 2015 at 12:56 pm 51659
Olivier Olivier

No not at all, I think it’s because there is no WPUF custom field for PDF and it’s trying to save my own custom field PDF.

Look at the above picture, you can see that there is the last field for PDF that is not present in the WPUF
fields.

Actually, come to realise it there are two of my own custom fields missing in the WPUF custom fields : the one at the beginning and the one at the end.

Thanks for your feedback,

Olivier

June 10, 2015 at 5:05 pm 51687
Olivier Olivier

Could you please help me on this because I need to deliver next week and it’s been 1 month since this topic has started.

Thank you very much,

Olivier

Viewing 15 Topics - 16 through 30 (of 36 total)