Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter cselin

    (@cselin)

    Thanks for the speedy reply! I’ll refer to the installation guide, I set this website up so long ago I don’t even remember haha.

    Thread Starter cselin

    (@cselin)

    Thanks again for replying so quickly! Glad to know it wasn’t me making an error.

    Yes there’s no problem at the moment, though ideally using the mapped domain would be good for all resources. Thanks a lot for your help ??

    Thread Starter cselin

    (@cselin)

    Thank you for your quick response!

    I tried <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/logo.png" alt="<?php bloginfo('name'); ?>"> but it still seems to use the main site domain instead of the mapped domain – is that implementation correct?

    Thread Starter cselin

    (@cselin)

    Thank you! I can do this for my stylesheets.

    On more item that relates to using the theme url – what if I would like to redirect images that use the same bloginfo function? Eg.

    <img src="<?php bloginfo('template_directory'); ?>/img/logo.png">

    Is there a clever way to ensure the URLs of these files also use the mapped domain? Thank you for your help so far!

    Thread Starter cselin

    (@cselin)

    Haha, no worries

    Thread Starter cselin

    (@cselin)

    Creatium, that doesn’t seem too related to my problem, maybe try posting it as its own thread?

    • This reply was modified 4 years, 5 months ago by cselin.
    Thread Starter cselin

    (@cselin)

    Yes, that’s one of the pages, i use the plugin Redirection to send users who visit that page URL to the domain.

    I did try temporarily disabling that redirect and turning on/off the Yoast SEO sitemaps to see if that would let the page be included in the sitemap, but it didn’t change anything.

    I’ll see if I can find time to test in a clean environment.

    Thread Starter cselin

    (@cselin)

    Thanks, the new version has resolved the problem.

    Thread Starter cselin

    (@cselin)

    Thank you! Looking forward to the update.

    Thread Starter cselin

    (@cselin)

    Thanks for your response. If I print_r the wpquery object, from these args:

    Array ( [post_type] => kmgf_product [posts_per_page] => 9 [orderby] => gdrts [offset] => 0 [order] => DESC [gdrts_method] => stars-rating [tax_query] => Array ( [relation] => AND [0] => Array ( [taxonomy] => product-category [field] => slug [terms] => meat-products ) ) )

    `
    WP_Query Object ( [query] => Array ( [post_type] => kmgf_product [posts_per_page] => 9 [orderby] => gdrts [offset] => 0 [order] => DESC [gdrts_method] => stars-rating [tax_query] => Array ( [relation] => AND [0] => Array ( [taxonomy] => product-category [field] => slug [terms] => meat-products ) ) ) [query_vars] => Array ( [post_type] => kmgf_product [posts_per_page] => 9 [orderby] => gdrts [offset] => 0 [order] => DESC [gdrts_method] => stars-rating [tax_query] => Array ( [relation] => AND [0] => Array ( [taxonomy] => product-category [field] => slug [terms] => meat-products ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [static] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => 1 [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => product-category [term] => meat-products ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [relation] => AND [0] => Array ( [taxonomy] => product-category [terms] => Array ( [0] => meat-products ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [product-category] => Array ( [terms] => Array ( [0] => meat-products ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( ) [relation] => [meta_table] => [meta_id_column] => [primary_table] => [primary_id_column] => [table_aliases:protected] => Array ( ) [clauses:protected] => Array ( ) [has_or_relation:protected] => ) [date_query] => [request] => SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (98,99,100,101) ) AND wp_posts.post_type = ‘kmgf_product’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘acf-disabled’ OR wp_posts.post_status = ‘future’ OR wp_posts.post_status = ‘draft’ OR wp_posts.post_status = ‘pending’) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 9 [posts] => Array ( [0] => WP_Post Object ( [ID] => 555 [post_author] => 3 [post_date] => 2018-03-04 13:26:54 [post_date_gmt] => 2018-03-04 03:26:54 [post_content] =>

    Thread Starter cselin

    (@cselin)

    Solved – for anyone that has this same issue, I discovered that woocommerce doesn’t use any custom functionality to display reviews, it just uses the wp function comments_template() – which is a function that doens’t work unless in a single post or page template. So in order for it to fire in a custom ajax situation, it needs this before:

    <?php
    global $withcomments;
    $withcomments = true;
    ?>

    Thanks Justin, I have reviewed those threads as well. My site isn’t password protected, and it’s located live on the web at the moment. So it shouldn’t be anything to do with security or using a localhost URL structure.

    I tried enabling debug but nothing is getting output to debug.log.

    Could it be that I’m doing the ACF integration wrong? I couldn’t find clear documentation on that, my template mappings have ‘mapped wordpress field’ as ‘Custom Fields’ and then the mapped field is written in as text in the second input, eg ‘banner_title’. Is that correct?

    I’ve just started using the plugin and I’m having the same issue where it stalls at 1%. If it try to import just 1 page, it stalls at 25%.

    I am using Gathercontent in conjunction with a custom post type and I am attempting to import content in Advanced Custom Fields. My ACF pro, Gathercontent and WordPress are all up to date.

    Any ideas on how I can resolve this?

    Thread Starter cselin

    (@cselin)

    Any suggestions on where else I can look to troubleshoot this?

    Thread Starter cselin

    (@cselin)

    I don’t get any errors in the console, all i see is this:

    `load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:9 JQMIGRATE: Migrate is installed, version 1.4.1

    I should mention that the plugin fails to save the new order whether I drag and drop right in the posts lists page, or when I use the Re-order page and hit ‘update’. When I click ‘update’ I do get the ‘Items Order Updated’ message but when I refresh, the order has not been saved.

Viewing 15 replies - 1 through 15 (of 17 total)