rmsgreig
Forum Replies Created
-
@gaurav984 thanks for the suggestion this has mostly done the trick ??
Forum: Plugins
In reply to: [WP Tripadvisor Review Widgets] See full reviewsahh great thanks for your quick response
Forum: Plugins
In reply to: [Online Restaurant Reservation] Time selection showing all timesI have excluded all the other times in the exclusions is there a better way to do this?
Forum: Plugins
In reply to: [ND Shortcodes] Missing Alt Attributesgreat thanks for the information
Forum: Developing with WordPress
In reply to: add_rewrite_rule returning wrong urlSorry, it is the same plugin that causes the headers issue, I’m still trying to figure that one out as well. I have switched debug to false for the time being so that you can see what I mean. If you click one of the job links now it will be take you to a blank page but if you add the ‘/’ at the end of the url the correct job post displays.
So currently when you click the url is: https://carreraslathane-co-uk.stackstaging.com/jobs/8514/Sales-Manager
but should be
https://carreraslathane-co-uk.stackstaging.com/jobs/8514/Sales-Manager/ in order to actually display – do you think this is not created with this rewrite rule then?Forum: Plugins
In reply to: [The Events Calendar Countdown Addon] Change Layout of Pluginthanks for the reply, are there any plans to make this possible in future updates?
Many ThanksForum: Plugins
In reply to: [React Webcam] Gutenberg will break react-webcam@gertjank did you get this resolved? will there be an update of the plugin or does anybody know of any alternative?
ThanksForum: Plugins
In reply to: [WooCommerce] Get all products on current subcategory pagethey show up on the page, but I would like to query the products that do show up so that I can create a filter for them based on the brand they belong to. I can show some of the failed queries if that helps?
Forum: Fixing WordPress
In reply to: How to get all products in current subcategory in woocommerce?thanks for pointing out my mistake, I thought I had posted in the plugin forum.
Forum: Plugins
In reply to: [Portfolio Post Type] Portfolio Gallerys disappeared and cannot reinstateHi,
I ended up rolling the ACF plugin back to the previous version see here: https://documentation.laborator.co/kb/kalium/advanced-custom-fields-5-x-problem/hope this helps
Forum: Plugins
In reply to: [Portfolio Post Type] No “ADD NEW” button in gallerydid you ever figure this out?
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Close Menu on anchor clickthanks for your reply, will look at the options for getting the pro version
Forum: Fixing WordPress
In reply to: Customising product-attributes.php woocommerceHi yes the folder structure is correct mytheme/woocommerce/single-product/products-attribute.php, I will add a post to the woocommerce forum as well
thanksForum: Fixing WordPress
In reply to: Fatal Error cannot redeclare getHtml()thanks for replying, turned out the website had been hacked.
Forum: Developing with WordPress
In reply to: Custom Meta Checkbox Not Staying CheckedAhh so my checkbox has now stopped working, it was saving the checked on/off just fine until around 30 minutes ago, I have changed anything that I can see that would cause it to break?
function add_tiles_meta_box() { add_meta_box( 'tiles_meta_box', // $id 'Show in Large Tiles?', // $title 'show_tiles_meta_box', // $callback 'tiles', // $screen 'normal', // $context 'high' // $priority ); } add_action( 'add_meta_boxes', 'add_tiles_meta_box' ); function show_tiles_meta_box( $post, $metabox ) { $tiles = get_post_meta( $post->ID, 'tiles', true ); wp_nonce_field( basename(__FILE__), 'tiles_meta_box_nonce' ); ?> <!-- All fields will go here --> <p> <input type="checkbox" name="tiles" <?php echo (isset($_POST['b'])?"value='on'":"value='off'")?> <?php checked( $tiles, 'on' ); ?>/> Yes this is a large tile. </p> <?php } $post_ID = $post->ID; function save_tiles_meta($post_ID = 0) { $post_ID = (int) $post_ID; $post_type = get_post_type($post_ID); $post_status = get_post_status( $post_ID ); if ($post_type) { update_post_meta($post_ID, "tiles", $_POST["tiles"]); } return $post_ID; } add_action( 'save_post', 'save_tiles_meta' );