majaid
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom URL for image and “Learn More” linksYou can override the page template (use a child theme) and use a custom query to populate the ad area from a custom post type.
Forum: Fixing WordPress
In reply to: Custom URL for image and “Learn More” linksYou could try adding the external URL as outlined here.
https://slickmedia.co.uk/blog/wordpress-add-link-featured-image/
Forum: Fixing WordPress
In reply to: Move widget areas to other admin panel, and separate them.Yes, you will need to use a combination of the following:
https://codex.www.ads-software.com/Widgetizing_Themes
https://blog.templatetoaster.com/wordpress-settings-api-creating-theme-options/
Ensure you test thoroughly.
Forum: Fixing WordPress
In reply to: Getting Database errorIt looks like you changed the database prefix in the settings. Try resetting the value to match your database naming. If you can’t access through the dashboard, you can do it using your cPanel or remote SQL manager. Look in the wp_options table.
Forum: Fixing WordPress
In reply to: Can I start building a site from scratch?Try hiding the panel with CSS.
.hgroup {
display: none;
}Forum: Localhost Installs
In reply to: how to run my website on my local server?Have a look at the All in One Migration plugin (https://www.ads-software.com/plugins/all-in-one-wp-migration/). Install the plugin on the live server and the local server. Use All In One to export the live site to a file. Download the file. Use All In One on your local server to import the file. You’ll have to update the Permalinks once the site is imported (All In One prompts this).
Forum: Fixing WordPress
In reply to: Icons are goneVerify your settings in Cloudfront.
https://aws.amazon.com/premiumsupport/knowledge-center/no-access-control-allow-origin-error/
The problem is not with WordPress, but with Cloudfront and Chrome.
It is a security issue.
Forum: Fixing WordPress
In reply to: Icons are goneYour website is blocking CORS (Cross-Origin Resource Sharing).
This is one error reported:
Access to font at ‘https://d106q9fcz5fa54.cloudfront.net/wp-content/themes/blog-tema/fonts/Simple-Line-Icons.woff2?v=2.4.0’ from origin ‘https://gerandoblogs.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.See here for more information:
https://www.html5rocks.com/en/tutorials/cors/Forum: Fixing WordPress
In reply to: Pictures in the post are not showingHave a look at Wordfence (https://www.wordfence.com/) and Sucuri (https://sucuri.net/). Both offer great security.
Forum: Fixing WordPress
In reply to: Pictures in the post are not showingHappy you solved it. I’m not a big fan of Jetpack.
Forum: Fixing WordPress
In reply to: Pictures in the post are not showingCheck your images again, something is setting the width and height to 1px.
Forum: Fixing WordPress
In reply to: Shortcodes not working on new installHave a look at the quotes used in the shortcode. Are you copy and pasting from a book or another website?
Forum: Fixing WordPress
In reply to: Space above homepage imageYour Elementor section has a top padding of 300px.
Use the following CSS to remove the top padding..elementor-399 section {
padding-top: 0;
}Forum: Fixing WordPress
In reply to: How to disable the image opening as attachmentTry adding this to your functions.php file:
function remove_product_image_link( $html, $post_id ) {
return preg_replace( “!<(a|/a).*?>!”, ”, $html );
}
add_filter( ‘woocommerce_single_product_image_thumbnail_html’, ‘remove_product_image_link’, 10, 2 );