Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 32 total)
  • Author
    Posts
  • in reply to: Attributes/Options WYSIWYG not working #37492
    13Garth13Garth
    Participant

    This is how you can remove your media from post editor and also the text tab where people can add html code.
    Note!!! This will disable these options across the board. So if you need it to be post specific. Go find another solution.

    Also I hope you have a child theme or else you are cutting corners and your stuff
    will likely break with updates for your theme.

    Paste the below code into your functions.php file inside your theme folder.

    add_filter( 'wp_editor_settings', function($settings) {
    $settings['media_buttons'] = false;
    $settings['quicktags'] = false;
    return $settings;
    });

    in reply to: Attributes/Options WYSIWYG not working #37491
    13Garth13Garth
    Participant

    -- Mistake re-posted same question.

    in reply to: Attributes/Options WYSIWYG not working #37490
    13Garth13Garth
    Participant

    Please could you add an answer to your post because I am having the same issue but I see no solution to your problem.

    Also I am not doing the post type in the code. I am using the UI. So where can I configure to remove the media box?

    in reply to: How to see all my support tickets #37489
    13Garth13Garth
    Participant

    Legend! Thank you.

    That is exactly what I was looking for

    in reply to: Add user to company support package #37478
    13Garth13Garth
    Participant

    https://coverweb.co.za/supported_companies

    in reply to: Add user to company support package #37477
    13Garth13Garth
    Participant

    Sorry my mistake,
    Your logo is actually still been advertised on my website. I fixed it a while back.

    in reply to: Remove title and content from custom post types #37072
    13Garth13Garth
    Participant

    I figured out the problem.

    My front end submissions for by defaut adds the title and content in the shortcode.
    By editing the shortcode and removing the title and content I was able to remove the
    fields.

    in reply to: Meta Box Optimizations #36874
    13Garth13Garth
    Participant

    @Long

    Please try checking out this link
    https://garthbaker.co.za/metabox-optimizations/

    I created a public post so you can view.

    Regards,
    Garth

    in reply to: Meta Box Optimizations #36873
    13Garth13Garth
    Participant

    Hi Long,

    That's super strange. If I click them they open.
    I think this may be a restriction for regions.

    What country are you contacting me from?

    Regards,
    Garth

    in reply to: Form don't show #12951
    13Garth13Garth
    Participant

    Hi Anh 🙂
    I most definitely can. I will download a screen recorder and send it through thank you for your help I really appreciate it.

    in reply to: Form don't show #12929
    13Garth13Garth
    Participant

    Hi I'm not gonna make an admin account for you the site is confidential at the moment so I'm not allowed to I have an NDA with the Client until the site is Launched.

    But I can send through images of my code and debug the process however you advise. I have my plugin active with the meta box builder which I got when I purchased the frontend Submissions extension. I also have the updater plugin which I had to add so I could enter my API key.

    I am using the HTML5_Blank theme. I'm not sure if maybe this could be part of the problem.
    My console is also clean. I have no errors on my site.

    I have also run all my code through this PHP Checker ( https://phpcodechecker.com/ ) and I have no errors. Also my forms are appearing in the back end for my custom posts I have registered and they are posting to the Database. Which means my code is working.

    It is just the front end submissions shortcode that is not working.

    I am a senior PHP developer. So feel free to use technical terms if that helps. I have control of the domain on the server as well. So if you need me to maybe adjust the memory limit or adjust something I can do that too.

    in reply to: Form don't show #12923
    13Garth13Garth
    Participant

    @Anh Tran

    So this is what I have in my PHP file.
    echo do_shortcode( '[mb_frontend_form id="area"]' );

    and this is what I am getting back from that on the Front end.
    The PHP echoes the shortcode as a string and no form is been displayed.
    echo '[mb_frontend_form id="area"]';

    in reply to: Form don't show #12921
    13Garth13Garth
    Participant

    This is how I am calling my form with the shortcode. [mb_frontend_form id="area"]

    in reply to: Form don't show #12920
    13Garth13Garth
    Participant

    This is how I've written my code for the meta boxes. with each $meta_boxes[] = array() adding a field to whichever post I have set it to. I have added many fields so I just took the start and finish of the code with one of the items I have added.

    <?php  
        function add_meta_fields( $meta_boxes ) {
            $meta_boxes[] = array(
                'id' => 'area',
                'title' => 'Area' ,
                'post_types' => array( 'for_sale',' ' ),
                'context' => 'normal',
                'autosave' => false,
    
                'fields' => array(
                    array(
                    'id' => 'address',
                    'name' => 'Address',
                    'type' => 'text',
                    ),
                    array(
                        'id' => 'map',
                        'name' => 'Location',
                        'type' => 'map',
                        // Default location: 'latitude,longitude[,zoom]' (zoom is optional)
                        'std' => '-6.233406,-35.049906,15',
                        // Address field ID
                        'address_field' => 'address',
                        // Google API key
                        'api_key' => 'MY_API_KEY_IS_INSERTED_HERE',
                    ),
                ),
            );
            return $meta_boxes;
            }
        add_filter( 'rwmb_meta_boxes', 'add_meta_fields' );
    ?>
    
    in reply to: Form don't show #12918
    13Garth13Garth
    Participant

    Hi Anh Tran
    I don't have any is_admin() conditions written into my code. I haven't needed it. However. I'm not sure about the forms been registered on both front end and back end.
    How can I check this?

    Currently my forms work in the back end but not the front end. So I'm wandering if maybe it's because I haven't registered my form for the front end.

    Also another thing I noticed is that I purchased the front end submissions extension. But then I see you guys have packages for core, developer and lifetime. I only purchased the front end submissions extension though. Is this right? I only need the front end submissions extension I don't need the others.

    Thank you for the help.

Viewing 15 posts - 16 through 30 (of 32 total)