• I’m using GP and GB for the first time for a highly customized site, versus using Elementor as I usually do (but don’t necessarily like doing, it is popular not for it’s Tom foolery by 3rd party devs, but for it’s depth of functional controls without having to code). I have some feedback to help.

    1. Code editor > since you can only migrate code via copy/paste using code editor, it would be helpful to display row numbers in editor, it is timely to hunt through lines of code to capture the needed code to be migrated.
    2. Blocks usage of hyperlinks is absolute path, this creates extra effort to update urls from subdomains of staging or dev sites to tld site. There should be a settings control to let developer/design to use absolute or relative paths, here is what i found from quick search on perplexity, I would recommend a simple implementation on/off of following filters:
      • Based on the search results provided, there doesn’t appear to be a specific setting in GeneratePress or GenerateBlocks to choose between absolute or relative links for hyperlinks. However, I can provide some general guidance on how you might approach this:
      • WordPress Core Functionality:
        Instead of relying on a theme-specific setting, you can use WordPress core functions to convert absolute URLs to relative ones. Add these filters to your theme’s functions.php file or a custom plugin:
      • add_filter(‘post_link’, ‘wp_make_link_relative’);
      • add_filter(‘page_link’, ‘wp_make_link_relative’);
      • add_filter(‘attachment_link’, ‘wp_make_link_relative’);
      • add_filter(‘post_type_link’, ‘wp_make_link_relative’);
    3. extend existing block elements to better support full range of css attribution that is available in the standard; for example, link text only has 2 color controls, there is no attribution for visited or active. I find myself frequently doing having to use coding to get affect needed.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support ying

    (@yingscarlett)

    Hi there,

    1. GB’s block does not have to be copied/pasted in the code editor, you can operate it in the block editor. As for the code editor, it’s a WP feature, we don’t the control over that.
    2. Not sure what you mean, when you add link to GB’s button or headline, you can enter the relative links instead of absolute links, it depends on you. Let me know if that’s not the case you were talking about.
    3. The feature already exists in GB Pro, you can build your CSS via GB Pro’s global style.

    Let me know if I miss anything ??

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.