New Landing How can we help? Themeforest Theme Support Flexform Styling a Comments Page in Flexform

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Flexform
  • #218657
    Shiftdialog
    Member
    Post count: 55

    Hi Flexform,

    I am hoping you can help me with custom styling a Comments page differently.

    Please see the PDF attached and let me know if the changes I want to make can be done.

    Many thanks,
    SD

    Attachments:
    You must be logged in to view attached files.
    #218696
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .tags-link-wrap,.single .pagination-wrap {
        display: none !important;
    }

    Paste this code at functions.php of child theme:-

    function crunchify_disable_comment_url($fields) { 
        unset($fields['url']);
        unset($fields['email']);
        return $fields;
    }
    add_filter('comment_form_default_fields','crunchify_disable_comment_url');

    Thanks
    Mohammad

    #218910
    Shiftdialog
    Member
    Post count: 55

    Thank you, Mohammad!

    Already looking better!

    One question: I never did install the child theme. I don’t know anything about what a child theme is. Do I have to install it to make the functions.php edit you gave? Is it safe to install it now? My current site has been up for a while now.

    sd

    #218933
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You should read this documentation
    https://codex.wordpress.org/Child_Themes

    The child theme is inside our themeforest files. it should be installed and activated like any normal theme.
    A child theme requires that the parent theme is installed, in this case Flexform theme.

    If the functions.php doesn’t exist you will need to create it.

    Let us know if you have doubts.

    -Rui

    #219487
    Shiftdialog
    Member
    Post count: 55

    Thanks, Rui,

    I read the Codex on the child theme. Can you confirm if this is what I do?
    1. FTP child theme to wp-content/themes folder
    2. ensure it is named “flexform-child”
    3. create a clean functions.php file
    4. after the opening tag (<?php), put the code, above, in the php file and nothing else
    5. save it to that child folder, which already has a style.css file in it

    Nothing else?

    OR
    3b. should I copy the parent theme’s functions.php file, keep all of the content inside it, and then put the new code at the end of the content?

    Please let me know – I am confused about this part.
    Many thanks,
    sd

    #219492
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Your 5 steps are correct the functions.php should be empty just with the php tags inside. Like this

    <?php 
    
    ?>

    Placing the code provided above between the tags.
    Instead the ftp process you can just install the child theme like any normal theme. Don’t forget to activate the child theme.

    Hope it helps.

    -Rui

    #219516
    Shiftdialog
    Member
    Post count: 55

    Fantastic. Thanks a million, Rui.

    Will do.

    sd ๐Ÿ™‚

    #219520
    Shiftdialog
    Member
    Post count: 55

    Rui Urgent: my main menu disappeared. What should I do?

    sd

    #219523
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    That’s normal when you activate the child theme for the first time, just go again to appearance-> menus and assign again the menus.

    -Rui

    #219525
    Shiftdialog
    Member
    Post count: 55

    Menu restored. Phew!!! Thanks for responding so fast, Rui. I noticed that a child theme cannot be deactivated. Is that true?

    I’ll go through the site to make sure nothing else was affected. Is there anything else I should look out for?

    sd

    #219526
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    The child theme should be active, the menu’s were the only thing I forgot about it.
    Just double check the widgets just in case you have them in Appearance-> Widgets

    -Rui

    #219528
    Shiftdialog
    Member
    Post count: 55

    A virtual heart attack feels exactly the same as a real one. Who knew!? ๐Ÿ™‚

    The widgets are all there.

    You’re a valued ally. Thank you, Rui.

    #219570
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It’s better not to find out about the heart attack.
    Thanks for the kind words, glad it’s sorted.

    -Rui

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register