• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

maxwelll22

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 12, 2024 at 8:42 pm in reply to: Child theme “setup” #508411
    maxwelll22
    Blocked

    To address your question about removing or customizing the setup options that come with the parent theme, here's a straightforward approach:

    Removing Parent Theme Setup Code
    Identify the Setup Code: Look into your parent theme's files, particularly functions.php, and search for functions related to setup options. These might include theme supports, default settings, or any setup functions that are called upon theme activation.

    Disable Setup Functions in Child Theme:

    Add a functions.php file in your child theme directory if you don't have one already.
    Remove or disable specific functions by using WordPress hooks. For instance, if the parent theme registers a custom setup function, you can use remove_action to disable it. For example:

    function my_custom_enqueue_scripts() {
    wp_enqueue_style('my-custom-style', get_stylesheet_directory_uri() . '/style.css');
    wp_enqueue_script('my-custom-script', get_stylesheet_directory_uri() . '/js/custom.js', array(), null, true);
    }
    add_action('wp_enqueue_scripts', 'my_custom_enqueue_scripts');

    Override parent theme options: If the parent theme adds specific options or settings, you can override or disable them by re-registering or customizing them in your child theme's functions.php.
    Customizing CSS and JavaScript:

    Enqueue your own CSS and JS files: To avoid using the parent theme’s setup CSS or JavaScript, make sure to enqueue your own styles and scripts in the child theme. Example:

    function my_custom_enqueue_scripts() {
    wp_enqueue_style('my-custom-style', get_stylesheet_directory_uri() . '/style.css');
    wp_enqueue_script('my-custom-script', get_stylesheet_directory_uri() . '/js/custom.js', array(), null, true);
    }
    add_action('wp_enqueue_scripts', 'my_custom_enqueue_scripts');

    Test Your Changes: After making these adjustments, test your theme thoroughly to ensure that removing or disabling setup options hasn’t affected your desired functionality.

    Sharing Your Theme
    When you’re ready to share your child theme, you can do so by:

    Providing a downloadable link to your theme files.
    Offering documentation or comments within the code to help others understand and use it effectively.
    Additional Tips:

    Consider using a version control system like Git to track changes and collaborate with others.
    If you’re looking for expert feedback, you might want to share your theme on development forums or GitHub, where experienced developers can provide more in-depth advice.
    Feel free to ask for more details or help if you need it!

    I did same for my client site.

    April 10, 2023 at 10:07 pm in reply to: Image at top of a Post does not show correct size or position #507224
    maxwelll22
    Blocked

    To resolve the issue, you may need to troubleshoot the problem by disabling plugins one by one, switching to a different theme temporarily, or seeking assistance from a developer who is experienced in WordPress. You can also check WordPress forums or other online communities to see if others have experienced similar issues after upgrading to version 6.0.

    April 2, 2023 at 5:07 am in reply to: Button does not get linked #507132
    maxwelll22
    Blocked

    his could be due to a number of factors, but there are a few things you can try to resolve the issue.

    Firstly, check the HTML code for the buttons and ensure that the link is correctly entered. Make sure that the URL is accurate and that there are no typos or errors in the code.

    If the code looks fine, try clearing your browser cache and refreshing the page. Sometimes, cached versions of web pages can cause issues with links not working correctly.

    If the issue persists, try checking the CSS code for the buttons to ensure that the styling is correctly applied. Make sure that the class or ID selectors for the buttons are correctly entered and that the styling rules are accurate.

    If you're still having issues, it may be worth reaching out to the support team for your website builder or CMS platform for further assistance. They should be able to help you troubleshoot the issue and find a solution.

    I hope this helps, and that you're able to get your buttons working correctly soon!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble