-
AuthorPosts
-
August 7, 2017 at 10:15 pm #835617
Hi, I have a custom post type that im pulling into the page with the blog post element from the builder. I is set to use custom taxonomies and I have the categories selected and its pulling them in, but it says there should be 3 pages, when I click on page 2 i just get a 404? Have you seen this before?
Here is the page.
August 8, 2017 at 10:15 am #835760Hey acscreativenew,
Did you try to reset your permalink settings under Settings->Permalinks? If that doesn’t work then please post admin login details in private so that we can have a closer look.
Best regards,
RikardAugust 8, 2017 at 3:42 pm #835886Yes, I did try and reset the permalinks and it seemed to do nothing. I will add login info below.
Thanks
-DanAugust 13, 2017 at 7:51 pm #838310Hi,
Can you please provide us with FTP ACCESS also, so we can check the .htaccess file please?
Thank you very muchBest regards,
BasilisAugust 14, 2017 at 3:22 pm #838685HI Please find the FTP info in the Private section. Just wondering why would this have anything to do with the .htaccess file?
- This reply was modified 7 years, 2 months ago by acscreativenew.
August 18, 2017 at 9:05 pm #841032Hi,
The settings permissions ( CHMOD ) on .htaccess are not properly and I did tried to change them but it was not saving
Can you check that please with the hosting company?Best regards,
BasilisAugust 24, 2017 at 5:01 pm #843584Hi,
So im not really sure what you mean by this. I know I cant change any of the server settings since im on a shared hosting.
I just went into the .htaccess file and made edits to it and saved it and it worked fine.
August 28, 2017 at 3:50 pm #844850Hi acscreativenew,
Do you mean the issue is resolved or just the .htaccess file editing and saving?
Best regards,
VictoriaAugust 28, 2017 at 3:54 pm #844852Hi,
The issue with the site is not fixed.
I was able to go in and edit and save the .htaccess file with no issue.
I wont be able to make any edits to the server settings due to our hosting environment.
Thanks
-DanAugust 30, 2017 at 3:32 pm #845838Hi Dan,
Have you tested this functionality with the default theme?
Best regards,
VictoriaAugust 31, 2017 at 6:08 pm #846434Hi,
Just tested this and pagination does seem to work when I change over the the 2017 theme.
Thanks
-DanSeptember 6, 2017 at 4:59 pm #848743Any other ideas here?
September 8, 2017 at 5:15 am #849372Hi,
Please try to register the custom post type and taxonomy with the following plugin.
// https://wordpress.org/plugins/custom-post-type-ui/
Best regards,
IsmaelNovember 8, 2017 at 5:54 pm #874269Hi,
I registered the CPT in the functions file with code. Its working fine and I don’t really want to use a plugin to create my CTP. Is there anything else we can try?
November 13, 2017 at 3:52 am #875913Hi,
Is the pagination working? The plugin won’t affect the frontend in any way if that’s what you’re worried about.
Best regards,
IsmaelNovember 14, 2017 at 4:34 pm #876647The Pagination is NOT working. I have added the plugin and its still not working. I have not loaded my CPT in the plugin because I already have it registered in my functions files and I don’t want to risk losing any of my data.
here is the code for my CPT
// let's create the function for the custom type function custom_post_newsroom() { // creating (registering) the custom type register_post_type( 'newsroom', /* (http://codex.wordpress.org/Function_Reference/register_post_type) */ // let's now add all the options for this post type array('labels' => array( 'name' => __( 'Newsroom' ), /* This is the Title of the Group */ 'singular_name' => __( 'Newsroom' ), /* This is the individual type */ 'all_items' => __( 'All News' ), /* the all items menu item */ 'add_new' => __( 'Add New' ), /* The add new menu item */ 'add_new_item' => __( 'Add New News Item' ), /* Add New Display Title */ 'edit' => __( 'Edit' ), /* Edit Dialog */ 'edit_item' => __( 'Edit News Item' ), /* Edit Display Title */ 'new_item' => __( 'New News Item' ), /* New Display Title */ 'view_item' => __( 'View Newsroom' ), /* View Display Title */ 'search_items' => __( 'Search Newsroom' ), /* Search Custom Type Title */ 'not_found' => __( 'No News Found.' ), /* This displays if there are no entries yet */ 'not_found_in_trash' => __( 'Nothing found in Trash' ), /* This displays if there is nothing in the trash */ 'parent_item_colon' => '' ), /* end of arrays */ 'description' => __( 'This is the example custom post type' ), /* Custom Type Description */ 'public' => true, 'publicly_queryable' => true, 'exclude_from_search' => false, 'show_ui' => true, 'query_var' => true, 'menu_position' => 6, /* this is what order you want it to appear in on the left hand side menu */ 'menu_icon' => 'dashicons-format-aside', /* the icon for the custom post type menu. uses built-in dashicons (CSS class name) */ 'rewrite' => array( 'slug' => 'newsroom', 'with_front' => false ), /* you can specify its url slug */ 'has_archive' => 'true', /* you can rename the slug here */ 'capability_type' => 'post', 'hierarchical' => true, /* the next one is important, it tells what's enabled in the post editor */ 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'revisions', 'comments' ) ) /* end of options */ ); /* end of register post type */ } // adding the function to the WordPress init add_action( 'init', 'custom_post_newsroom');
November 16, 2017 at 5:00 am #877358Hi,
Did you refresh the permalinks after creating the custom post type? Please go to the Settings > Permalinks panel then click the “Save” button. Check the posts page again afterwards. Don’t forget to remove the browser cache before checking the page.
Best regards,
IsmaelNovember 29, 2017 at 6:11 pm #883128I cant create the CPT since I already have this created in my functions file. I do not wish to use a plugin to create the CPT because its not needed when you can do it in your functions file.
So no I have not create the CPT in the plugin you suggested and I have not saved the Permalinks because there is nothing to save as of right now.
Is there something that can be done with out using this plugin, im not sure why this plugin is needed. I have create the CPT in the functions file like I do every time but it just does not seem to be working right now, the pagination that is.
Thanks
-DanNovember 30, 2017 at 2:38 pm #883441Hi,
Did you modify the templates? The pagination looks different from the default markup.My bad. The pagination markup is actually correct.
Best regards,
IsmaelNovember 30, 2017 at 4:58 pm #883497Hi,
I have not changed anything of the files for this site. You can also see its going it on the live site I have set up.
Not sure why its happening but I would live to get this fixed.
December 4, 2017 at 3:48 am #884494Hi,
I’m still not sure what’s causing the issue. I would like to check this again but we only have access to the staging site. Please provide the WP and FTP details for the live site.
Best regards,
IsmaelDecember 4, 2017 at 4:44 pm #884695Here is all the info for the live site.
Thanks
-DanDecember 6, 2017 at 7:54 am #885408Hi,
Thank you for the update. However, these credentials are not working. Please check it carefully.
Best regards,
IsmaelDecember 6, 2017 at 4:32 pm #885644That password should work now. Sorry about that.
December 12, 2017 at 1:46 am #887662Hi,
The “newsroom” page conflicts with the “newsroom” archive page. Please rename the “newsroom” page. The pagination works fine if the page name is different.
Best regards,
IsmaelDecember 12, 2017 at 6:59 pm #888031ok, i see that and i got it working when changing the name.
I dont get why it would conflict? I dont have an archive page for the newsroom. I just set up a page and added post via the builder.
December 13, 2017 at 1:30 pm #888324 -
AuthorPosts
- You must be logged in to reply to this topic.