Forum Replies Created
-
AuthorPosts
-
ok, 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.
Any way you could tell me what is not right, I cant seem to find an issue with it?
Thanks
-Danits in the child-theme functions.php file.
That password does work, no spaces i know I have a space after the : but thats not part of the password
That password should work now. Sorry about that.
Here is all the info for the live site.
Thanks
-DanI just updated the password, it should work now.
Hi,
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.
I 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
-DanThe 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');
Hi,
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?
Any other ideas here?
Hi,
So not using the builder fixed this issue. I just used the normal content block in wordpress for the terms and conditions page and it went back to how it should work on the checkout page.
Seems like a bug with the builder thats causing this maybe? but for now this solution will work.
Thanks
-DanHi,
Just tested this and pagination does seem to work when I change over the the 2017 theme.
Thanks
-DanHi,
I just changed it over to the 2017 theme and it does not repeat this.
Looks like im not the only one with the issue also.
Thanks for looking into all of this.
Thanks
-DanHi,
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
-DanHi,
So i just deactivated all of them BUT the WooCommerce plugin. It was still showing up two time. If i deactivated the WooCommerce plugin I would have not been able to test since this is on a Woo checkout page.
Thanks
-DanHi,
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.
I went thought most of the plugins and didn’t find any that were causing the issue.
Please let me know what you find.
Thanks
-DanHi,
Yes you can deactivate plugins for testing.
Im trying to find the one now that messing it up.
Hi, im not sure if this matters or not but I have another ticket open with someone working on this same site. I have all the FTP and Login info posted over there.
HI 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, 3 months ago by acscreativenew.
So that code removed both of them, I would only like one of them removed. Im not sure why its repeating itself?
If you actually watch the page build it only loads one at first, then after woo does its things and loads the CC fields and section another one shows up.
Yes, I did try and reset the permalinks and it seemed to do nothing. I will add login info below.
Thanks
-DanHi,
So this resolved half of the issue. I still had the header show so I added this.
.woocommerce-checkout #hep-header { display: none !important; }
But its still showing up two times. How can I remove the second one that has the same classes and ids?
Thanks
-DanMarch 15, 2017 at 4:00 pm in reply to: Changing the "check out" text in the small cart widget in top right of page. #761463So, So im trying to use a plugin called “Say What” to translate that string now. Its asking me for the
Text domain and Text context
Here are the links.
https://plugins.leewillis.co.uk/doc_post/adding-string-replacement/
https://plugins.leewillis.co.uk/doc_post/replacing-wordpress-strings-context/Could you please help me find those for the “cehckout” text that is in the little cart dropdown when something is in the shopping cart. This little icon is the one that shows up in the top right corner of the site and is only active when items are in the cart.
Thanks
-DanMarch 1, 2017 at 12:01 am in reply to: Changing the "check out" text in the small cart widget in top right of page. #753341Hi,
I can’t seem to target that word with this translator.
any other options?
February 22, 2017 at 9:50 pm in reply to: Changing the "check out" text in the small cart widget in top right of page. #750694Sure things
January 18, 2017 at 4:20 pm in reply to: using a custom single-CTP.php page for a CPT I have added #735399Info is below, and yes
// staging.infanttoddler.com/web/content/
is the right directory
January 17, 2017 at 4:16 pm in reply to: using a custom single-CTP.php page for a CPT I have added #734775Were you able to login and take a look around?
Thanks
-Dan -
AuthorPosts