Luka
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Pages wider than viewportYou need to add css to your body tag to remove horizontal scrolling. Here’s the code snippet you should be looking to integrate in your code:
body { overflow-x: hidden; }
Forum: Fixing WordPress
In reply to: Google analyticsThis seems like a google analytics problem rather than a WordPress. You should probably create a post in google support forum.
Forum: Fixing WordPress
In reply to: Force users to complete an offer before accessing a linkDefinitely doable, you’re most likely going to need a custom made code for this.
Forum: Fixing WordPress
In reply to: 500 error after editing .htaccessAssuming you edited .htaccess file in root directory, you should firstly change it back to default htaccess setup:
# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress
From there, you can work on adding your custom lines.
Forum: Fixing WordPress
In reply to: How to add custom parameter to a page?I can’t say I’ve used plugin for this before, so I’m uncertain if they even exist. Perhaps if not, I’ll be able to write it and publish it.
Anyways, if you’re going to write this on your own, you should be looking to create a new plugin for it, inside of ‘plugins’ folder.
Unfortunately, I can’t teach you this, I can only guide you in the proper direction and that would be to use wordpress filter
page_link
to modify page URL (on which you’ll append GET parameter).Forum: Fixing WordPress
In reply to: Server Response Time Increased after Installing Divi theme?After a quick glance, I didn’t find anything obvious that should be optimised and taken care of on your site. What are your server specifications? Also, I’ve noticed that site loads almost immediately for me, I’d say in a second or so, but definitely less than 3.
Forum: Fixing WordPress
In reply to: There has a critical error on your site showing up on mobile devicesYou should be looking at your PHP error log in your hosting panel. There’s more information logged in there. Without those details, we won’t be able to investigate this.
Forum: Fixing WordPress
In reply to: How to add custom parameter to a page?This should be handled from the code. You can’t add GET parameters directly on the page in admin panel, however custom script should do it.
Forum: Fixing WordPress
In reply to: Change value of the pay buttonThat seems to be an image, so you can’t really just replace text in it from the code. However, you should just create the same image, just with different text, rename it to ‘Koop nu’ and then replace it with current one.
Forum: Fixing WordPress
In reply to: Pages (greyed out/can’t modify anymore)Hey Lynda, yes, you’re logged in as admin and still the link you’ve written is not accessible in public. Unfortunately, without more information, we can’t help you much.
Forum: Fixing WordPress
In reply to: Pages (greyed out/can’t modify anymore)The URL page you referenced is an wordpress admin panel link and not visible by non-logged in users.
Forum: Fixing WordPress
In reply to: Elementor remove headingI’d most likely use css for this so something like code below should solve your issue.
.page-id-551 .gt3_header_builder { display: none; }
(Note: This will hide header only for this particular page)
- This reply was modified 4 years, 8 months ago by Luka.
Forum: Developing with WordPress
In reply to: show an element only to the author of the post@plantprogrammer
Out of curiosity, isis_user_logged_in()
even needed here?Forum: Fixing WordPress
In reply to: Plugin functionality / behavior customizationIf the plugin has no documentation and does not support extending it, I’m afraid that there’s no easy option to keep things easily maintainable.
You can always copy ‘parent’ plugin code and create ‘child’ plugin and modify things in there, however that’ll require some manual work once you want to update ‘parent’ code.
There’s also another option, and that’s to create a wrapper for the plugin in ‘theme’ directory. As an example, if plugin contains function called
XX()
and you want to modifying it’s behaviour, you’d create a wrapper functionwrapperXX()
, and store it somewhere in your activated theme folder. Inside ofwrapperXX()
you’d callXX()
and do any modifications on it you need. Also, once you update plugin, you won’t have to modify anything (most likely) in theme’s folder. This approach however is not usable in all cases.Nonetheless, as you’re probably aware, there’s no right approach for this, if you’re stuck with a plugin that is not extendable.
Forum: Fixing WordPress
In reply to: Domain showing as /wordpressYou’d want to change rows where column
option_name
values equals tositeurl
andhome
.They should currently be set to
https://victorianbuildingandpoolinspections.com.au/wordpress
and you want that changed tohttps://victorianbuildingandpoolinspections.com.au/