Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter jhoysi

    (@jhoysi)

    No, we are not using a URL shortener.

    Thread Starter jhoysi

    (@jhoysi)

    Thank you for getting back to me! I don’t see anything in our plugin list that manipulates plugins – I did include the list down below.

    The post’s structure was updated during an overhaul recently, but that should still point to the correct URL. Links are correct throughout the website using the standard template functions. Just now, I did a test by adding echo get_the_permalink(); to the single.php template and the correct URL, but not the URL that is being tweeted out, displayed. I did this on both the staging environment and briefly on the live to make sure nothing was getting lost in translation. They matched. You can view the staging version here: https://venturepatterns.jennsuzhoy.com/blog/essay/entrepreneurs-solve-chicken-and-egg-problems/)

    You can see that the permalink is showing as: https://venturepatterns.jennsuzhoy.com/blog/essay/entrepreneurs-solve-chicken-and-egg-problems

    But when we Tweet this same post, the URL that goes out is: https://venturepatterns.com/uncategorized/entrepreneurs-solve-chicken-and-egg-problems/

    You can see the Tweet here: https://twitter.com/VenturePatterns/status/1334263393210028034

    Thank you so much for your help!

    Plugin list follows:

    – Admin Columns Version 4.2.2 by AdminColumns.com | Auto-updates disabled
    – Advanced Custom Fields PRO Version 5.9.3 by Elliot Condon | Auto-updates disabled
    – All-in-One WP Migration Version 7.31 by ServMask | Auto-updates disabled
    – All-in-One WP Migration Unlimited Extension Version 2.37 by ServMask | Auto-updates disabled
    – Classic Editor Version 1.6 by WordPress Contributors | Auto-updates disabled
    – Contact Form 7 Version 5.3 by Takayuki Miyoshi | Auto-updates disabled
    – Discuss on Twitter Version 0.3 by Nick Grossman | Auto-updates disabled
    – Insert Headers and Footers Version 1.4.6 by WPBeginner | Auto-updates disabled
    – Ivory Search Version 4.5.10 by Ivory Search | Auto-updates disabled
    – MC4WP: Mailchimp for WordPress Version 4.8.1 by ibericode | Auto-updates disabled
    – Redirection Version 4.9.2 by John Godley | Auto-updates disabled
    – ShareThis Share Buttons Version 1.4.1 by ShareThis | Auto-updates disabled
    – WordPress Importer Version 0.7 by wordpressdotorg | Auto-updates disabled
    – WP-Optimize – Clean, Compress, Cache Version 3.1.4 by David Anderson, Ruhani Rabin, Team Updraft | Auto-updates disabled
    – WP-PageNavi Version 2.93.3 by Lester ‘GaMerZ’ Chan | Auto-updates disabled
    – WP Database Backup Version 5.7 by Prashant Walke | Auto-updates disabled
    – WP to Twitter Version 3.4.10 by Joseph C Dolson | Auto-updates disabled
    – Yoast Duplicate Post Version 3.2.6 by Enrico Battocchi & Team Yoast | Auto-updates disabled
    – Yoast SEO Version 15.3 by Team Yoast (Latest version: 15.4) | Auto-updates disabled

    Thread Starter jhoysi

    (@jhoysi)

    Thanks, Priscilla! I’ve run the theme through an HTML validator and corrected all the errors. A few warnings remain, but they are from plugins.

    I also narrowed down the issue. There’s something in my theme’s CSS that is triggering the schema to show. I’ve got it from here.

    Thank you again!

    Thread Starter jhoysi

    (@jhoysi)

    Figured it out. If I add the trigger class for the pop up to the submit button and remove the Form Submit trigger the fields retain their data.

    I came here to make this request as well. I’m currently using the Featherlight plugin to convert all images with a link to their media file into a lightbox – would be great to enable this when using the Media & Text block.

    For now, I have the accompanying text link to open the lightbox, but would be 100x more intuitive to have the link on the image itself.

    Thread Starter jhoysi

    (@jhoysi)

    Marking resolved.

    Thread Starter jhoysi

    (@jhoysi)

    Yes, that solved it! Thank you for both taking the time, and for the explanation.

    Thread Starter jhoysi

    (@jhoysi)

    Thank you for your quick work! I have my computer in for repair, but will test as soon as I am able and will post the update here.

    Thread Starter jhoysi

    (@jhoysi)

    You can view the results of the above steps on the demo you created: https://demo-02.gbiorczyk.pl

    Thread Starter jhoysi

    (@jhoysi)

    I was able to recreate the issue. It’s a combination of WP Better Permalinks and using taxonomies as menu items in the site navigation. Here are the steps I used to create the problem:

    1. Install Custom Post Type UI (or create a custom post type and taxonomy):
    • Go to CTP UI > Tools. On the Post Type tab, paste the following to import the Products Category (to ensure we have the same settings): {"products":{"name":"products","label":"Products","singular_label":"Product","description":"","public":"true","publicly_queryable":"true","show_ui":"true","show_in_nav_menus":"true","show_in_rest":"false","rest_base":"","rest_controller_class":"","has_archive":"true","has_archive_string":"products","exclude_from_search":"false","capability_type":"page","hierarchical":"true","rewrite":"true","rewrite_slug":"products","rewrite_withfront":"false","query_var":"true","query_var_slug":"","menu_position":"21","show_in_menu":"true","show_in_menu_string":"","menu_icon":"dashicons-cart","supports":["title","editor","thumbnail","page-attributes"],"taxonomies":["product_category"],"labels":{"menu_name":"Products","all_items":"All Products","add_new":"Add New","add_new_item":"Add New Product","edit_item":"Edit Product","new_item":"New Product","view_item":"View Product","view_items":"View Products","search_items":"Search Products","not_found":"No Products Found","not_found_in_trash":"No Products Found in Trash","parent":"Parent Product:","featured_image":"Featured Product Image","set_featured_image":"Set Featured Product Image","remove_featured_image":"Remove Featured Product Image","use_featured_image":"Use as Featured Product Image","archives":"Product Archives","insert_into_item":"Insert into Product","uploaded_to_this_item":"Uploaded to this Product","filter_items_list":"Filter Products","items_list_navigation":"Products List Navigation","items_list":"Products List","attributes":"Products Attributes","parent_item_colon":"Parent Product:","name_admin_bar":""},"custom_supports":""}}
    • Click the Taxonomies tab at the top of the Tools panel. Paste the following to create the Product Category (to ensure we have the same settings): {"product_category":{"name":"product_category","label":"Product Categories","singular_label":"Product Category","description":"","public":"true","publicly_queryable":"true","hierarchical":"true","show_ui":"true","show_in_menu":"true","show_in_nav_menus":"true","query_var":"true","query_var_slug":"","rewrite":"true","rewrite_slug":"products","rewrite_withfront":"0","rewrite_hierarchical":"1","show_admin_column":"true","show_in_rest":"false","show_in_quick_edit":"true","rest_base":"","rest_controller_class":"","labels":{"menu_name":"","all_items":"","edit_item":"","view_item":"","update_item":"","add_new_item":"","new_item_name":"","parent_item":"","parent_item_colon":"","search_items":"","popular_items":"","separate_items_with_commas":"","add_or_remove_items":"","choose_from_most_used":"","not_found":"","no_terms":"","items_list_navigation":"","items_list":""},"meta_box_cb":"","object_types":["products"]}}
    • Create 3 Product Categories:
    1. Parent Category
    2. Child Category – set the parent as Parent Category
    3. Grandchild Category – set the parent as Child Category
    • Create a Product page. Give it a Product Category of Grandchild Category.
    • Install WP Better Permalinks
    • Set the Products URL structure to include Product Category
    • Create a Menu (Appearance > Menus) in the Primary menu location
    • Add all three Product Categories (you may need to turn on their visibility by opening the Screen Options panel at the top of the Menus page). Nest Child Category under Parent Category and Grandchild Category under Child Category to create a dropdown.
    • View the site and click on either Child Category or Grandchild Category from the dropdown. The URL structure will duplicate the parent/grandparent section of the URL.
    • Some additional notes/troubleshooting I’ve done:

    • In the Settings > WP Better Permalinks, turning off the taxonomy in the URL does not affect the performance of the taxonomies, but does break the permalinks to the eventual single Product – a 404 page shows.
    • Deleting the plugin outright resets the taxonomy URLs in the navigation, but the final single Product URL remains broken and results in a 404 page.
    • Reinstalling WP Better Permalinks and adding the taxonomy back to the URL structure settings <b>does</b> fix the single Product URL, but the taxonomy URLs from the menu repeat once again.
    • Setting the taxonomy URLs as custom URLs in the navigation does not help. There is a redirect created somewhere that forces the duplicate URL structure.
    • Adding a 301 redirect results in an infinite loop and crashes the site.

    Thanks for the help!

    Thread Starter jhoysi

    (@jhoysi)

    Thanks! I will work with this to recreate and send you an update.

    Thread Starter jhoysi

    (@jhoysi)

    As the OP of the issue, would it be OK if I recreated the issue I’m having?

    Thread Starter jhoysi

    (@jhoysi)

    I have uninstalled and reinstalled and the problem is persisting for me as well. It’s exactly as Jill states above – child taxonomies have the parent repeat on their archive pages.

    I understand you’re working to find and resolve the issue. I will wait to hear the result. Thank you for your time and attention!

Viewing 13 replies - 1 through 13 (of 13 total)