Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter tuux

    (@pixeldt)

    Resolved Thanks to @max Yudin from wordpress.stackexchange – his answer fixed the issue. LINK

    The answer from @max

    Category is the built-in taxonomy for posts only, not custom post types. So you have to call the pre_get_posts hook.

    This hook is called after the query variable object is created, but before the actual query is run. Place the following code to the functions.php or a custom plugin. Not tested though.

    <?php
    add_filter('pre_get_posts', 'query_post_type');
    function query_post_type($query) {
        if( is_category() ) {
            $post_type = get_query_var('post_type');
            if(!$post_type) {
                $post_type = array('nav_menu_item', 'post', 'recetas'); // don't forget nav_menu_item to allow menus to work!
            }
            $query->set('post_type', $post_type);
            return $query;
            }
    }
    Thread Starter tuux

    (@pixeldt)

    Hi Anh, many thanks for your support. That’s exactly what happens. Can’t use rwmb_meta function if the plugin is deactivated. so if the the plugin is deactivated and the function is removed from the theme, everything goes ok. Many thanks.

    About the integration in the site I will read the docs with more detail to include Meta Box directly and try to avoid the 500 error.

    Thread Starter tuux

    (@pixeldt)

    500 error appear when use the code require get_template_directory() . 'meta-box/meta-box.php'; to add the plugin via functions php. The site is never breaks completly if I disable the plugin via worpdress plugins option on the dashboard, it only breaks all other plugins that stop working after disable Meta Box

    Thread Starter tuux

    (@pixeldt)

    Using “define( ‘WP_DEBUG’, true );” the only error shown is Notice: automatic_feed_links is deprecated since version 3.0.0! Use add_theme_support( 'automatic-feed-links' ) instead. in ../wp-includes/functions.php on line 3707

    Using chrome dev tools console JQMIGRATE: jQuery is not compatible with Quirks Modeis the only warning

    Thread Starter tuux

    (@pixeldt)

    Fixed in v4.9.2 of the plugin

    Thread Starter tuux

    (@pixeldt)

    Yeah it is. Thanks for your help @stevejbrobinson!

    Hi,

    Thanks for your reply. Your solution works fine to submit the form with (Text – Value) separated and with your structure PayPal take the correct value and proceeds with the checkout in a right way right now.

    The form sent to the admin email by CF7 can’t separate the (Text – Value) with this structure and the “_raw_” prefix, but there no problem for me with that right now.

    Many thank you for your great plugin and support.

    Hi. Before all thanks for your great plugin and sorry for “re open” a past topic.

    I’m trying to use a form integrated with your plugin using a select option with pipe value but the “paypalsubmit ” button submit the form with the “label” not with the value.

    [select* plan id:pay "PLAN-A|1090" "PLAN-B|3090" "PLAN-C|5090" ]
    [paypalsubmit email:luisangel.xxx@xxx.com itemamount:pay]

    The data sent to my email are ok, it comes with the value “3090” but when user submits the button to paypal, the paypal page alert from a wrong price. I suppose it happens because the button is sending the wrong value “PLAN-B”

    If I use the “select” without the pipe

    [select* plan id:pay "1090" "3090" "5090" ]

    All goes ok, but I need the “label” and the “value” separated.

    Do you have any idea how can I do it?

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