Home / Tips for Developers

Tips for Developers using the Global Demo & Theme

Latest Posts Indented 20px: (Fixed as of 7-1-2020)

Added CSS to Qode Options > General > scroll to the bottom for Custom CSS area.

.latest_post {
padding-left: 0px !important;
}

Notice Link on Home Page Not Working: (fixed as of 7-1-2020)

This problem actually occurs on the Row block below the notice. This is usually associated with the Home pages full-width feature photo. On this Row block, click on the Pencil Icon in the upper-right to edit the Row Settings. Look at it’s Design Options tab of this block. Remove the negative number from the “top margin” area. Save the block and Publish the page. Check the mobile version too. If there is no negative number found in the Row Settings, look in the Column Settings by clicking the Pencil Icon located in the top center of the block.

Changing Text for Breadcrumbs:

Go to Yoast SEO > Search Appearance > Breadcrumbs – In this tab is all the text settings.

Breadcrumbs Link to Wrong Page or Site:

Go to the Parent Page or Actual page with the wrong link, and re-publish it by clicking the blue update button.

Open New Window with Links

To enable links to open a new window (select target), you must change a setting in the WP Accessibility area. Go to Settings > WP Accessibility > Miscellaneous Accessibility Settings > then uncheck Remove target attribute from links.

Security: Changes to wp-config file for x-frames and cookie security.

Note when adding this code – Make sure single quotes are plain single quotes in your wp-config file or you will get an error on your site.

/** Added to secure x frames */
header(‘X-Frame-Options: SAMEORIGIN’);

/** Added to secure cookies */
@ini_set(‘session.cookie_httponly’, true);
@ini_set(‘session.cookie_secure’, true);
@ini_set(‘session.use_only_cookies’, true);

Posts: Hide the Post Date when not using WPBakery Page Builder Layout for posts

Add this code to the CSS in the Qode Options > General Settings > Custom CSS…

.entry_date {
    display: none !important;
}

Posts: Fix Blue Title Bar Height (Fix as of 3-13-2020)

Go to Qode Options > Title > Title Height… Remove the “px” from the “47px” so the setting reads “47” only.

Breadcrumb Link Wrong on Search Landing Page: How to correct the Home Link (Fix as of 9-8-2023)

  1. Using an FTP program, you must edit the file called search.php located in the child theme folder on the hosting server. To find this file, login to your hosting account and locate the wp-content folder. Inside this folder go into the themes folder, then into the bridge-child folder.
  2. Make a backup copy of the search.php file.
  3. On line 50 of the search.php file, edit the url that references hesterdesignsdemo3.com, and change it to your site’s home page URL. Save and replace the file.
  4. Go out to your site’s home page and use the search in the footer at the bottom. On this page, hover your mouse over the “Home” link in the breadcrumb links under the page title. Make sure it goes to your site’s home page. That’s it!