Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Search Results for 'child theme'

Home / Forums / Search / Search Results for 'child theme'

Viewing 20 results - 961 through 980 (of 6,404 total)
  • Author
    Search Results
  • #237817

    Your child theme is the issue.

    For some reason, you are overriding the head.php and header.php templates and when you updated the theme you did not update those templates.

    Whenever you make a child theme and override parent code you are responsible to update that code.

    Usually, it’s not appropriate to override the head.php and header.php templates. So my suggestion is to remove those template from your child theme and ask me for the best way to do whatever it is you are wanting to do and I can give you a better path.

    It appears your child theme has outdated woocommerce templates as well. Which means you need to go over the whole child theme and fix and update it.

    Or remove all the template files you are overriding ( I would suggest that anyway. There are better ways to add some of the things are you adding).

    Just activate the parent theme and you will see how things work.

    Ben

    #237761

    Hi you two,

    Thank you – The home page is fine, in fact every page works fine EXCEPT the blog. When you click on blog, it takes forever to load and then I’ve gotten the 503 cannot fetch error.

    Hannah – the child theme is installed but I made no changes to anything there.

    Thank you,

    Luke

    #237759

    Can you tell me what all you’ve added to your child theme?

    Hannah

    #237722

    are you using a child theme?

    If not send me a login to your site.

    Ben

    #237642

    Hi there,

    I can’t find info in the forums in order to add static content to the blog page here:

    The client wants one picture to remain on the top of the page, and maybe a paragraph about why he blogs, above the post feed. I think I have to do something with the php file in a child theme? Is that correct? Is that just the WP is set up?

    Any explicit help here would be great.

    Thank you,

    Luke

    #237562

    Hi Ben:

    Problem: importing theme options is stripping attachments from posts. This client has over 2000 posts dating back to 2002, so it’s crucial that attachments be retained in the posts.

    What I did:
    I exported the demo site theme options using the theme options > import/export panel and imported it into the target site. I used the Better Search Replace plugin to update all URLs on the site. At this point attachments are stripped from the blog posts.

    I also did a full export of all content from the demo site (including “Download and import file attachments”), and successfully imported it into the target site. According to https://wordpress.org/support/topic/post-only-import-file-attachments-not-working/ and other recent resources, exporting/importing *all* the content should bring attachments to the target site, whereas importing individual content types does not.

    I also used File Manager to copy all the files from the demo site’s child theme folder to Themes folder of the destination site.

    All the content is successfully imported, but the attachments in the blog posts are still missing. If I revert to the original theme options .json, the attachments appear again. This leads me to believe that the issue is not with the content import, it is with with the theme import.

    I need a way to get the theme options I developed in the demo site implemented in the target site.

    I will give you access to my account and the relevant subdomains in a private reply.

    • This reply was modified 6 years, 7 months ago by Rebecca. Reason: Note about manually copying child-theme files to destination site
    #237441

    Hi Kristie,
    Unfortunately, there isn’t a built-in function for this. You would either need to add your menu items into the content area of the page as buttons, or add a custom function into a child theme.

    Hannah

    #237407

    It turns out there’s a prefix added to the beginning of any classes you try to add to the editor via the add_editor_style:

    https://wordpress.org/support/topic/applying-styles-to-gutenberg-block-editor/#post-11923825

    Opened a bug report for this issue:

    https://github.com/WordPress/gutenberg/issues/17411

    The developer of the theme I’m using (GeneratePress) helped me with getting the styles added. In case it’s helpful for anyone else, adding the following to my child theme function.php file allowed me to load the block-editor.css file I placed in my child theme folder:

    add_action( 'enqueue_block_editor_assets', function() {
        wp_enqueue_style( 'your-handle-here', get_stylesheet_directory_uri() . "/block-editor.css", false, '1.0', 'all' );
    } );

    Thanks Ben!

    #235501

    Hey,
    Pinnacle actually has Header and Footer Scripts within the theme options. If you don’t see this, you may need to enable it from Theme Options > Theme Extensions. Pasting it here will allow you to update without having to re-add your script or use a child theme.

    Hannah

    #235414

    I created a subdomain on my client’s live site so I could experiment with building them a new site without disturbing their existing site or worrying about conflicts with their many plugins. I wanted a clean install. I used the Kadence Importer plugin to set up the Site Style Four demo in the subdomian, and then customized it, uploading just the bare minimum of media needed to give a sense of the look and feel. I customized pages, portfolios, galleries, sliders, post styling, etc. I didn’t build out the whole site, I just created examples of each kind of page or element, to get sign-off from the client. I made a child theme from my work and activated it in the client’s live site.

    The client never took advantage of the Virtue Premium features – the site is just a flat page with a few links. They have years of blog posts (not currently showing on the site), an extensive media library, and lots of plugins.

    Aside from building everything over again from scratch in the main domain, can you suggest any time-saving steps I could take to port the new pages and settings over from the subdomain to the main domain? I need to preserve all the media, and utilize the blog posts in the new style.

    Thanks for any thoughts on how to approach this.

    #235392

    I have made all my CSS customizations to the Virtue Premium theme in Theme Options > Advanced Styling > Custom CSS Box. Is the css entered here preserved after a WordPress version or theme update?

    I understand that css customizations in Appearance => Customize => Additional CSS are preserved after theme or WordPress version updates, but was wondering if that also applied to css entered in the Custom CSS Box.

    I realize I should have created a child theme, and am planning on doing that now, but want to understand exactly what gets wiped out when WordPress or a theme updates.

    Thanks.

    #235367

    For some reason, you are missing all the closing </article> tags. I can’t recreate that when I test.

    Are you editing anything through a child theme? Would it be possible for you to send me a login?

    Ben

    #235278

    You need to keep your theme and plugins updated. A child theme is only necessary if you plan to edit the core theme files. Otherwise, all of your theme options will be saved upon updating. That said, it is always a good idea to have backups made.
    Let me know if these settings are still thrown off after updating!

    Hannah

    #235265

    Hi, I have also tried the settings in there. To test, I changed the topbar background to white and this worked. When I do the same for the header background nothing changes.

    Hi Ben, no it is not the most up to date. I haven’t created a child theme so if I update will this change settings on the site? Is it advisable to create a child theme for the future?

    #235248

    If you want to create a new topic and post a login to your site I can inspect and see whats happening with your child theme edit.

    Bne

    #235217

    You actually don’t need any of that in your child theme.

    You can remove that from the functions file.

    Still, that doesn’t explain the issue in your body tab and header? What else is in your child theme.

    Ben

    #235212

    Hey,
    The plugin does not provide a built-in function for that. Have you tried contacting the plugin developers? They may have a workaround. Otherwise would you have to code this in a child theme.

    Hannah

    #235169

    Hello,
    This is my
    function my_theme_enqueue_styles() {

    $parent_style = ‘virtue_premium’;

    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style ),
    wp_get_theme()->get(‘Version’)
    );
    }
    Is it ok?

    Jordi

    #235141
    Refused to apply style from 'https://www.reprodisseny.com/wp-content/themes/repro_themestyle.css?ver=1.0.0' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
    (index):1 Refused to apply style from 'https://www.reprodisseny.com/wp-content/themes/virtue_premiumstyle.css?ver=5.2.2' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

    Those are errors created by a child theme. Within your child theme you are missing a / when enqueuing styles.

    If you need help with your child theme post what you are adding here or in a code sharing so I can help fix what you added.

    Also you seem to be breaking the body tag in your child theme which is causing some other issues. If you are editing the templates remove those edits, if you need to change something ask here and I can help write it correctly.

    Ben

    #235106

    Great thanks Ben.

    Also this is the final issue I am having… I did mention previously that I was getting a site experiencing technical difficulties. I am still getting that error with a site. No matter what version of php I use. It is currently on 7.0 and seeming to work ok except when I activate some plugins.

    The 2 Kadence Blocks plugins are installed and activated but if I activate Kadence Slider / Gravity Forms / All in one SEO Pack I get the error message – The site is experiencing technical difficulties.

    If I change to the default wordpress theme the site works fine?? I am using a child version of the latest Virtue Premium Theme.

    Would you mind having a quick look please. I have added you in with the same user and password as before (double checked its working).

    I have built countless sites with your themes and never had all these issues before? I do appreciate your time.

    Mel

Viewing 20 results - 961 through 980 (of 6,404 total)