aatanasov
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Cutted text in input label on mobileHi @wsseri,
You’re welcome. Please feel free to mark the issue as solved if everything is okay.
Have a nice day, you too!
Forum: Fixing WordPress
In reply to: Cutted text in input label on mobileI was able to reproduce the issue on my device too.
After testing the contact form, it appears the issue is related to the whytebook font used by the site. The font doesn’t render the text inside form fields correctly on some devices.
Using another font family fixes the text.
There are two options:
- Replace the font file with another one, if possible
- Set a different font to the form fields (web safe font is recommended)
This is the CSS file that handles the font families CSS code: https://doulic.sk/wp-content/uploads/useanyfont/uaf.css?ver=1662918635
For example, you can change this code:
.ff-el-form-control, ff-el-form-control{ font-family: 'whytebook' !important; }
with this one:
.ff-el-form-control, ff-el-form-control{ font-family: Arial !important; }
Due to how the theme handles the fonts, !important is required.
The form must be tested when the styles are changed to ensure everything is okay.
Forum: Fixing WordPress
In reply to: [NSFW] How do i handle this type of redirect?The code has to be added to your WordPress theme. However, it must be done by a WordPress developer.
I recommend contacting the author of the theme you use for your WordPress site and discussing this functionality with them.
Forum: Fixing WordPress
In reply to: [NSFW] How do i handle this type of redirect?It looks like the Redirection plugin doesn’t have such a feature.
You can achieve the functionality using the WordPress
template_redirect
hook.Here is an example:
function app_handle_404(){ if( is_404() && preg_match( '~^/product/~', $_SERVER[ 'REQUEST_URI' ] ) ){ wp_redirect( home_url() ); exit(); } } add_action( 'template_redirect', 'app_handle_404' );
The function does the following:
- Checks if it is 404;
- Checks if the Request URI starts with
/product/
($_SERVER[ 'REQUEST_URI' ]
doesn’t include the domain name by default); - If both conditions match, the user is redirected to the home page.
If you’re going to proceed with this approach, please consider the following:
- Test the code in a staging instance.
- Test different URLs for any redirect conflicts.
- This reply was modified 2 years, 6 months ago by aatanasov.
Forum: Fixing WordPress
In reply to: Transfering email@crabby-cliff I recommend contacting the support of the service that hosts your domain name.
Usually, hosting services have support agencies that assist with such requests. They will be able to help best with transferring your domain name.
Forum: Fixing WordPress
In reply to: Can’t login to Dashboard after editing old postI’ve noticed the shared URL is https://erichepperle.com/wp/hko/20220901/
However, when I click on the profile icon on this page, I’m redirected to another instance: https://websitedemos.net/organic-shop-02/wp-login.php
Do you think you’re trying to log in to an incorrect instance?
There might be issues with the site URL of your instance. This can be reviewed as well.
Additionally, considering this note:
The user account I had been logged in with DID NOT EXIST in the _users database when I checked.
I think you’re reviewing the database of another instance (perhaps the second URL I shared). Please check the
wp-config.php
database credentials to ensure you’re reviewing the correct database.Forum: Fixing WordPress
In reply to: Transfering emailA domain name includes different types of records. For example:
– The MX records type is responsible for handling emails.
– The A records type indicates the IP address of the particular domain (which web servers need).In most cases, you can point only the A records of the domain to your new hosting platform. This means your current mail server will keep handling the emails.
However, I’m not sure what you mean by
to WordPress
because WordPress is a CMS platform. Are you referring to a specific hosting platform by WordPress?It is worth noting that configuring a domain name has to be done by someone who knows how domain name servers work.
Forum: Fixing WordPress
In reply to: SVG full width with white spaceThe SVG element is 100% width, but the Sky rectangle has a fixed width inside the SVG (probably because of the used shapes inside the SVG). https://ibb.co/KxwsVPZ
The elements inside the elements will need to be adjusted. It looks like this SVG was created using a tool. If that is the case, please review if the tool allows making the background 100% width.
Forum: Fixing WordPress
In reply to: Changes not visible for user without loginSometimes this happens when there is page caching enabled. The Front-end side of your website might be cached for non-logged-in users by a caching plugin or the hosting platform used by your website.
This means a caching tool might serve an old version of your home page.
Please review your WordPress dashboard and your hosting account for any options that allow clearing the website cache.
- This reply was modified 2 years, 6 months ago by aatanasov.
Forum: Fixing WordPress
In reply to: cPanel login not working. Can’t reset passwordcPanel accounts aren’t manageable through WordPress, and you’ll need to contact your hosting support to assist with configuring the credentials of your cPanel instance.
Forum: Fixing WordPress
In reply to: [NSFW] How do i handle this type of redirect?The plugin requires a valid parent URL where the users will be redirected. It looks like you’re trying to add the rewrite of the custom post type (
/product/
), which is invalid. In that case, it isn’t clear what the 301 redirect URL is.Based on your first message, your products use a category name in their URLs (
/shoes/redpumps/
), but another product URL was provided in the last message.In order to recommend a solution based on your permalink structure, please provide some real redirects you’d like to achieve (without using your domain name).
- This reply was modified 2 years, 6 months ago by aatanasov.
Forum: Fixing WordPress
In reply to: [NSFW] How do i handle this type of redirect?You can try achieving this functionality using https://www.ads-software.com/plugins/redirect-404-to-parent/
It allows adding a base URL (For example,
https://mystore.com/shoes/
). In that case, all 404 URLs that start with this base URL will be redirected (fromhttps://mystore.com/shoes/non-existing-product/
tohttps://mystore.com/shoes/
in our case).This 404 URL would also work
https://mystore.com/shoes/parent/non-existing-product-name/
There will still be some manual work, but you will need only to maintain the main categories.
- This reply was modified 2 years, 6 months ago by aatanasov.
Forum: Fixing WordPress
In reply to: Missing Admin Accounts (for 1 Admin)Hi Jonathon,
Sometimes custom queries might affect the WordPress admin pages.
To find the root of the problem, I would recommend the following approach:
- Firstly, create a staging instance;
- Disable all plugins on the staging instance;
- Test whether the particular admin can see all admins;
- If it works, try to disable each plugin individually to see which one causes the issue;
- If this approach doesn’t work, please enable the default WordPress theme;
- Test again, and if this still doesn’t work, you can try to recreate the account.
Forum: Fixing WordPress
In reply to: Language Switcher in WordPressYou’re welcome. Please feel free to mark this issue as resolved if the solution works.
Forum: Fixing WordPress
In reply to: Language Switcher in WordPressYes, you can use regex to match whether the URL includes a specific name. For example:
about
Something like that:
if( preg_match( '/about/', get_permalink() ) ) { // wp_enqueue_style .... }
This will work with https://example.com/ru/about/ and https://example.com/about/
The home scripts/styles can be loaded by default if there is no match.