WPMajestic
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Background color entire site has no effect – Theme TT4Hello @hebhansen,
Thanks for the clarification, what I see is that body is in the LiteSpeed cache file – https://prnt.sc/3OLF9SPwsk8s – which means that it’s picked up from somewhere and integrated there, I also see the color which you set and the color which exist for the body -> https://prnt.sc/Ouke6jOXTaFH – as you can see, the color which exist overwrites the color which you set because it’s CSS have loading priority over your CSS.
Check the style.css file of your theme and see what’s the color for the body selector there, change it there. If you can’t find it, you can use this code to force color to have priority over that one:
body {
background: #f9f9f9 !important;
}Add that code via Customizer – Additional CSS, but only if you can’t find the code in the style.css file of your theme, using important should be avoided whenever possible.
Kind Regards.
Forum: Everything else WordPress
In reply to: Link to external siteHello there
If I understood correctly, it’s possible to achieve this by using ACF (https://www.ads-software.com/plugins/advanced-custom-fields) or some similar plugin, it would go like this:
- Create custom fields: Use ACF to create custom fields for the external link URL and featured image.
- Link to external pages: Create a custom post type or use a page template to display these custom fields and link to the external pages.
Kind regards.
Hello @cryptonewsz,
The error “Fatal Error: duplicate attribute (found xmlns)” occurs because the code you tried to add defines namespaces multiple times. We can fix this by defining them only once at the beginning of the RSS feed. Try to use this code (adding to functions.php):
function add_custom_rss_namespace() {
$namespaces = array(
'content' => 'https://purl.org/rss/1.0/modules/content/',
'dc' => 'https://purl.org/dc/elements/1.1/',
'atom' => 'https://www.w3.org/2005/Atom',
'media' => 'https://search.yahoo.com/mrss/',
);
if (function_exists('has_action') && !has_action('rss2_ns', 'add_custom_rss_namespace')) {
global $rss;
$rss->namespaces = array_merge($rss->namespaces, $namespaces);
}
}
add_action('rss2_ns', 'add_custom_rss_namespace');
add_action('atom_ns', 'add_custom_rss_namespace');This code defines an array <code class=””>$namespaces to store the namespace prefixes and URLs. It checks if the <code class=””>has_action function exists and if the <code class=””>add_custom_rss_namespace function hasn’t been hooked to the <code class=””>rss2_ns action already (to prevent duplicates). If the conditions are met, it merges the defined <code class=””>$namespaces array with the existing <code class=””>$rss->namespaces array using <code class=””>array_merge. This ensures the namespaces are added only once.
About the crawl frequency – unfortunately, WordPress itself doesn’t have built-in functionality to control the crawl frequency of your RSS feed for search engines. Search engines determine their own crawl frequency based on factors like your website’s content and update frequency.
I hope you find this helpful, kind regards.
Forum: Fixing WordPress
In reply to: Issue with cacheHello there,
You did not share site URL but I assume it’s https://minisigners.com – you have more problems then just caching, it takes 20 seconds to load your website, server response time is very bad, you can see more info here – https://gtmetrix.com/reports/minisigners.com/rg3VRcbI/
There are caching issues thought -> https://prnt.sc/eUu5dvsgyOGp and your CSS and JS files are not cached at all -> https://prnt.sc/Ghuh5eSinTV4
You need to check this on the hosting level, it looks like your site is hosted on Bluehost, please check this article to see how to utilize their caching settings -> https://www.bluehost.com/help/article/wordpress-how-to-use-our-page-caching-feature
When it comes to slowness, check how site behaves when you sort out the caching issue, it’s not normal that server response time is so bad. Try disabling that Jetpack CDN or Jetpack plugin totally to see will the situation improves, sometimes that CDN thing can be glitchy.
Kind Regards.
Forum: Everything else WordPress
In reply to: Image partly on screenHello @llan2022,
The mentioned code is located in the https://www.llanymynech.org/wp-content/themes/twentytwenty/style.css?ver=2.7 – which means that you need to enter File Manager on cPanel (if you use cPanel) or to go into the files via FTP, or to use theme editor at https://www.llanymynech.org/wp-admin/theme-editor.php – and to edit that style.css file, you need to locate that mentioned code and to remove it, it’s here and this area -> https://prnt.sc/Gy2Ecjkn-ZSZ
About the child theme, your website is not using a child theme, you can learn more about child themes from here -> https://www.wpbeginner.com/beginners-guide/wordpress-child-theme-pros-cons/
Kind regards.
Forum: Fixing WordPress
In reply to: Help with slow websiteHello @lucas6888,
This stuff about building website properly from the start – you will find a lot of general guidance on Google search and YouTube if you type best web design and development practices for WordPress, etc. Tips and tricks come with experience, to be able to recognize what can be fixed and how it can be fixed. Definitely try to lazy load that script with reviews, it takes 4 seconds of your site loading time, and that’s just a small part of what needs to be done.
For your site, you can start by addressing issues from here – https://gtmetrix.com/reports/www.gommespecial.it/xKEkCOhv and here -> https://pagespeed.web.dev/analysis/https-gommespecial-it/qztouse85w?hl=it&form_factor=mobile – you need to research each issue to understand how to tackle it, it’s not something which you can do fast, it will surely take days and days efforts to figure out – but these things are complex and sometimes be hard to tweak even for us who are doing this daily.
Kind regards.
Forum: Fixing WordPress
In reply to: Help with slow websiteHello there,
I had a look at your website and there are many issues – honestly you would need to re-think the way on which you build the site, because it’s built without following good web design and optimization practices. You can make some progress if you do some stuff:
- I am not sure if you need https://widget.feedaty.com/v3.0.0/js/2021/10217156/feedaty.min.js – script and for what, but it’ taking over 3 seconds to load and that script has more of scripts and resources related to it – https://prnt.sc/Fc9meHL6tmcN – which overall takes at least 3,4 seconds of your site loading time.
- This script is also taking a lot of time, 4,5 seconds – https://prnt.sc/bL0SDTpAwtxU – re-visit it’s purpose and don’t use it if you don’t actually need it
- You have 3 gtag scripts -> https://prnt.sc/ZvMfPIMeiUad – I am not sure why do you need so many? One should be enough for tracking purposes.
- Disable Google Fonts and use only font weights which you are actually using on the site – you can use a plugin to load only specific fonts and to serve them locally, I had nice experience with https://www.ads-software.com/plugins/yabe-webfont plugin, but there are many others you can try.
- Remove font awesome totally, find only icons which you use on the site and compile them using https://icomoon.io/app/#/select – for example instead of loading whole font awesome pack with hundred of icons, you can only load 10-20 icons which you use on the site.
- Use https://www.ads-software.com/plugins/flying-scripts/ plugin to delay execution of some scripts which don’t need to load at the same time as website is fetched, for example you can delay gtag script, clarity script etc.
- Don’t lazy load images which are in the FCP, exclude them from lazy load, remove animations from them to prevent layout shifts.
This list could go on more and more but it would take a lot of time to cover everything, I hope it’s enough to help you to make some progress.
Kind Regards.
Forum: Fixing WordPress
In reply to: Background color entire site has no effect – Theme TT4Hello there,
I see that you are using the LiteSpeed Cache plugin, did you try to purge its cache and/or disable this plugin to see if the change will apply then?
Kind Regards.
Forum: Everything else WordPress
In reply to: Need Assistance with Green Leaves Nursery WordPress SiteHello there,
I noticed some things on the website:
- Preloaded takes too long to load (try from incognito, when it’s not cached it loads longer), using preloader is not a good practice, when your website is faster, you should remove preloader.
- On the first load, some page elements are broken, for example these -> https://prnt.sc/1ZjhMRTBaVZg – https://prnt.sc/W4D-HyJ415Bv – https://prnt.sc/_NTXZaxQISf-
- There are errors in the console – indicating that something is broken, one image is missing and there is probably something which clashes with jQuery – https://prnt.sc/9safDFA4lqCq
- Preloader prevents seeing the real Google Page Speed Score with suggested improvements – https://pagespeed.web.dev/analysis/https-greenleavesnursery-com/kdwd4m83l8?form_factor=mobile – https://prnt.sc/KJL7dpoAr7fl
- I assume the LiteSpeed cache plugin is not configured properly and/or it’s breaking the jQuery.
You can follow general guidance for website optimization as mentioned by the James in the post above -> https://developer.www.ads-software.com/advanced-administration/performance/optimization/ – but I would suggest to disable preloader and to re-visit LiteSpeed Cache configuration, to get rid of those errors in the console and to scan site with Google Page Speed and GTMetrix – to see all recommendations which those tests suggest and to address each item.
Kind Regards.
Forum: Fixing WordPress
In reply to: Navbar Menu is goes blankHello there,
You have options enabled for scale and transform in the Elementor for that container where the menu is, as you can see here -> https://prnt.sc/hl7M17lN9jbV – look for those options as on this tutorial -> https://elementor.com/help/css-transform – when you disable those options, your menu will appear normally.
Kind Regards.
Thank you, I am glad that I was able to be of assistance, cheers ??
Forum: Fixing WordPress
In reply to: 503 and the usual methods don’t work. HELP pleaseIf you are using Imunify – it’s possible that something from there block the scripts, but if the script is blocked you should get 403 errors, 503 are classic time-outs, but these time-outs can be a result of a long request or some kind of a loop. In any case, cloning the site to another IP would help you to isolate the problem.
Kind Regards.
Forum: Installing WordPress
In reply to: Installing a 2nd wordpress site on same domainHello there,
It’s a better approach to use a subdomain, for example, staging.agencyname.com, staging2.agencyname.com, etc. Of course – you need to make sure that Google don’t index the site which you are building for the client. Add A records for each subdomain to DNS settings and install WP on subdomains, as many installations as you need.
Kind Regards.
Forum: Everything else WordPress
In reply to: Image partly on screenHello there,
Remove this code from here https://www.llanymynech.org/wp-content/themes/twentytwenty/style.css?ver=2.7 -> https://prnt.sc/_wN91kkHqKeI – https://prnt.sc/ccb3gstmJod1
By the way, it’s not good idea to edit the code in parent theme, because your modification will be gone after theme is updated, you should use a child theme instead.
Kind Regards.
Forum: Fixing WordPress
In reply to: 503 and the usual methods don’t work. HELP pleaseIt’s the hosting issue then, check if you can see the resource usage in the cPanel, I bet it’s at 100%.
You would be wasting time trying to figure out something which is on the hosting end, you can clone site to another hosting, or another IP address, just to test it, and then you will know for sure that it’s the hosting problem.
Shared hosting environments are usually like that, shared hosting with shared resources, is oversold to many people and then this happens, do you know that there are hundreds of websites sharing that IP address and sharing resources? You can see it here -> https://2ip.io/domain-list-by-ip/70.32.23.105/
Kind Regards.