garethgillman
Forum Replies Created
-
Ask the siteground support, that’s what they are there for and will be able to help you much more than someone on these forums. This is a hosting issue which they are the experts.
Forum: Fixing WordPress
In reply to: Removing the user login barThe quickest and easiest way is to add the following to your css:
.top-bar-holder { display: none !important }
You can add that in one of 2 places:
– appearance > theme editor > styles.css
– appearance > customize > additional cssForum: Fixing WordPress
In reply to: Website only accessing 1 page, not home pageWhat plugins do you have installed? There might be one doing redirects which would cause the issue you’re having!
Have you changed the theme to a different one to check it’s not something been added to the theme?
Finally, check the .htaccess file as there might be coded added there causing the redirects too (they may have put in a http redirect and messed up and it’s redirecting all pages).
Forum: Fixing WordPress
In reply to: Getting jquery warningThe is isn’t with the jQuery-migrate file, it will be with a file in your theme or a plugin, it only shows as jQuery-migrate as you are combining JS files (the error actually shows as 1540142.js). Turn off WP Rocket and then run it again, it should give you a better idea of what file is causing the issue.
Forum: Developing with WordPress
In reply to: WP_Query not filtering post typepost-type should be post_type
Forum: Fixing WordPress
In reply to: broken menu on live site not in customizationYour CSS isn’t being loaded, I can see you’re using html minification, you will need to disable the plugin (if you’re using one) or remove the htaccess code that’s been added, this will then hopefully bring it back, with minification plugins you will need to test and tweak them as all themes are built differently which can make using certain types of plugins a bit of a nightmare.
Forum: Fixing WordPress
In reply to: Plugin inserts code in bad placeAsk on the plugins support forum, it could be something that can be done with a filter or the author might add the feature. When a question is related to a plugin, best bet is to ask there as the author is probably the best person to ask especially with feature requests.
Forum: Fixing WordPress
In reply to: Update jQuery Version to 3.xHi Nikhil
You can indeed add your own version of jQuery without modifying the core code (never do this). To do this use the following code – https://codepad.org/A2seaiS7 in your functions.php
If you aren’t confident editing theme files then there are plugins such as jQuery version control which enables this feature too.
3 columns is also broken, I fixed with
.gallery-columns-3 .gallery-item { margin-right: 5% !important; width: 30% !important; } .gallery-columns-3 .gallery-item:last-child { margin-right: 0 !important; }
Forum: Plugins
In reply to: [WooCommerce] Prices not showing upsorted, was a filter added to functions.php which remove the price.
Forum: Fixing WordPress
In reply to: Need help to creat a THUMBS pluginHi
can you test https://github.com/gareth-gillman/pdf-thumb
(upload as a custom plugin).
You need PHP Imagick installed, when you use the shortcode it checks if you have it installed, displays an error if you don’t.
The shortcode is [pdf-thumb src=”file.pdf” width=”400″ height=”400″]
and that will display:
<a href="file.pdf"><img src="file.pdf" width="400" height="400" /></a>
Any issues let me know on the github, if it works I will submit to the repo here so can be installed as a proper plugin.