Vizou
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] How to display ACF Google MapsOkay, so I am now seeing it… the description and documentation link mentioned above wasn’t showing that lower menu option at all so I didn’t know where to go to get the screenshot they were showing that had “Tools” in it. Thanks for the tip. All good now.
@nlpro I am on MacBook Pro, latest version of WordPress 5.8, Brave browser.Kinda hard to give you a screenshot NOT showing something however… no Tools or Advanced under any of the views (Settings, Config, User Groups, etc.).
I just upgraded the free version and there is no Tools or Advanced option showing… I am wondering about API and detailed settings for WordPress…?
Forum: Plugins
In reply to: [GigPress] Parse error in Gigpress update febr.01THANNNNNKKKKKK YOUUUUU!!!!! All good. : )
Forum: Plugins
In reply to: [GigPress] Parse error in Gigpress update febr.01I have 20 sites down due to this error and a lot of upset clients – I hope you get this fixed quickly because we depend on GigPress!
I ran debug and all was fine… but after finding another post that mentioned huge error logs I cleared my error logs and voilà! That was the trick! I also experimented with upping memory on my server but that wasn’t the issue once the logs were erased.
Same here, but strangely, it does not do this on all of the sites I use this on even though they are on the same server. Front end of site is fine and pageload is good; admin is constantly giving me white screen (although whatever I was Saving or doing seems to execute in the end). I have to reload the page to see the result. Very disturbing.
Forum: Plugins
In reply to: [ExchangeWP: Simple WP Ecommerce] Custom thumbnail sizesThanks for the response!
I totally get how it works with templates… but unfortunately your great explanation doesn’t answer my question about how to use a CUSTOM image size (one that is registered in theme functions.php or in a custom plugin in my case).
I want to use my custom size “thirdcolumn” and Exchange doesn’t recognize this custom size which is registered by my theme. I don’t want to use the image sizes generated by the Media settings. Is this possible?
I should further state that I am using a custom page template to display the store products (so I can break them into categories). In that template, I am using code from the Exchange templates (which I also have within my theme). My custom queries look something like this :
<?php do_action( 'it_exchange_content_store_before_wrap' ); ?> <?php do_action( 'it_exchange_content_store_begin_wrap' ); ?> <?php $my_query = new WP_Query('post_type=it_exchange_prod&taxonomy=it_exchange_category&term=linda-digital&posts_per_page=-1&orderby=menu_order&order=asc'); ?> <ul class="products"> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> <li> <?php it_exchange_set_product( $post->ID ); ?> <?php it_exchange( 'product', 'featured-image', array( 'size' => 'thirdcolumn' ) ); ?> <?php the_title(); ?> </li> <?php endwhile; ?> </ul> <?php do_action( 'it_exchange_content_store_after_wrap' ); ?> <?php do_action( 'it_exchange_content_store_after_wrap' ); ?>
The template works fine except for the image size.
I’m encountering another problem on this page :
https://norahrendell.com/nr/product/norah-rendell-brian-miller-wait-there-pretty-one/
I think it is the same problem as the query issue; it started with the upgrade to WP 4.0 (worked fine before).
Exchange is grabbing the wrong post content. It is also not recognizing registered custom post thumbnail sizes if I use this code; is there some way to register the with Exchange? :
<?php it_exchange( 'product', 'featured-image', array( 'size' => 'iconthumb' ) ); ?>
Help?
That’s just the first of three columns in the footer. I have removed the offending spans from the Page that is showing my company address an contact info there in the footer. The page content now shows up properly formatted due to the use of pre.
Using pre was a hack to make Exchange work properly. I have Exchange on another site that has no queries in the footer :
https://norahrendell.com/nr/product/norah-rendell-brian-miller-wait-there-pretty-one/ and all works to perfection so I think there is something, somewhere, in the Exchange template system that is corrupting the following query (outside loop) that is supposed to be in the footer…<?php $my_postid = 4;//coords $content_post = get_post($my_postid); $permalink = get_permalink($page_id); $content = $content_post->post_content; $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); ?> <?php echo $content; ?> <?php edit_post_link('Edit', '<p>', '</p>', 4); ?>
…and I can’t find it (I’ve reviewed all Loops, Elements and page templates without luck). It seems that Exchange is looking at the_content and re-outputting the current page (Product) in my footer (if this code is there instead of what I am currently using to fix the problem).
Thanks for chiming in! Love Exchange, really really!
Forum: Fixing WordPress
In reply to: WP 4.0 Broke Main MenuFor some reason, my reply posted twice. When I posted it, I got a blank page and WordPress error here in forums. Sorry.
Forum: Fixing WordPress
In reply to: WP 4.0 Broke Main MenuLook at another thread I made after replying to this one; I was wrong about it fixing my problem and discovered that custom post types were a part of my problem.
Forum: Fixing WordPress
In reply to: WP 4.0 Broke Main MenuLook at another thread I made after replying to this one; I was wrong about it fixing my problem and discovered that custom post types were a part of my problem.
Follow up on my hours of trying to debug this…
I came upon this post which led me to my last ditch effort :
https://codegarage.com/blog/2011/09/the-wordpress-post-object-and-you/
…that worked! So I finally ended up calling the page like this :
<?php $page_id = 4; $get_page_object = get_page( $page_id ); $page_object = $get_page_object->post_content; ?> <pre><?php echo $page_object; ?></pre>
The product no longer takes over my footer and the page content that is meant to be there is there and is formatted. But as always, a new mystery was created. I had a h2 in the page content with a span and class=”french” to style it. Wrapping the echoed output in
pre tags caused the span to disappear.I am not marking this as resolved as I still don’t understand exactly what is going on and would appreciate it if someone (perhaps from iThemes Exchange hovering in the wings?) would show up with a hint.