Saad Ahyat Hasan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Z – IndexIt’s not uncommon for changes to CSS to sometimes not take effect immediately due to browser caching. To ensure that your recent CSS updates are applied correctly, I recommend performing a “hard refresh” of your website. This will force your browser to fetch the latest version of the page and its associated assets, including the updated CSS.
To perform a hard refresh, please follow these steps based on your operating system and browser:
Windows:
- With your browser window open, press Ctrl + F5 on your keyboard.
macOS:
- With your browser window open, press Command + Shift + R on your keyboard.
After performing a hard refresh, revisit your website to see if the CSS changes have taken effect. If you still don’t see the changes, here are a few additional steps you can take:
- Clear Browser Cache: Clearing your browser’s cache will remove stored versions of web pages and assets, ensuring that you’re seeing the most up-to-date content. Instructions for clearing the cache vary by browser, but you can typically find this option in your browser’s settings or preferences menu.
- Check CSS Code: Double-check the CSS code you’ve added or updated to ensure that there are no typos or errors that might be preventing the changes from being applied.
- Inspect Elements: Use your browser’s built-in developer tools (usually accessible by right-clicking on the page and selecting “Inspect” or pressing F12) to inspect the elements on your website. This can help you verify if the updated CSS is being loaded and applied correctly.
- Temporary Deactivate Caching Plugins: If you’re using any caching plugins on your WordPress site, temporarily deactivate them while you’re making and testing CSS changes. Caching plugins can sometimes delay the appearance of updates.
If you’ve followed these steps and are still experiencing issues, please don’t hesitate to reach out to us for further assistance. We’re here to help you get your CSS changes applied and ensure your website looks just the way you want it to.
Forum: Fixing WordPress
In reply to: Images not showing after 6.3 upgradeHello @giorgiainterpretingitalian
After thoroughly reviewing your website and examining the provided screenshot, I can confirm that all the images are indeed displaying correctly on your site. It appears that there is no problem with the image display from our end.
If you are still experiencing issues with image visibility, I would like to suggest a few troubleshooting steps that might help resolve the matter:
- Clear Browser Cache: As you’ve suggested, clearing your browser cache can often resolve unexpected display issues. This step ensures that your browser fetches the most up-to-date content from the server. Instructions for clearing the cache can vary depending on the browser you’re using. You can usually find these options in the browser’s settings or preferences menu.
- Access without Browser Extensions: Some browser extensions or add-ons might interfere with how images are displayed. To rule out this possibility, you can try accessing your site in “incognito” or “private browsing” mode, which temporarily disables extensions. If the images appear correctly in this mode, it indicates that an extension might be causing the problem.
- Try a Different Browser: It’s possible that the issue is specific to the browser you’re using. Trying a different browser can help determine if the problem is browser-related. If the images display correctly in another browser, it suggests that the original browser might need some adjustments or updates.
- Hard Refresh (Ctrl+F5): When you revisit your site, your browser may still load cached content, which could contribute to display issues. Pressing Ctrl+F5 (or Command+Shift+R on macOS) forces a hard refresh, fetching all content anew from the server. This can sometimes resolve display problems caused by cached data.
- Server and Hosting Considerations: Given that the issue persists across different browsers and after clearing the cache, it’s a good idea to consider server and hosting factors. Reach out to your hosting provider and inquire about any server-side configurations or limitations that might affect image rendering. They might be able to provide insights or suggestions to address the issue.
I hope that by following these steps, you’ll be able to pinpoint the source of the image display problem and resolve it successfully.
Forum: Fixing WordPress
In reply to: Z – IndexHello there,
Is this what you want?
If you want to move your slider indicator to the back of the menu overlay, you can change your css from this:
@media only screen and (min-width: 10px) div.superSlider .iconIndicator { position: absolute; z-index: 111; top: calc(50% - 15px); font-size: 30px; cursor: pointer; color: #222; }
to this:
@media only screen and (min-width: 10px) div.superSlider .iconIndicator { position: absolute; z-index: 2; top: calc(50% - 15px); font-size: 30px; cursor: pointer; color: #222; }
Note that you only have to lower the z-index value from 111 to 2.
Hope that helps.
- This reply was modified 1 year, 7 months ago by Saad Ahyat Hasan.
Forum: Fixing WordPress
In reply to: Webpage has disappeared after updateHello @mediaglss2023
I’m sorry to hear about the downtime your website is experiencing. To address this issue effectively, I recommend the following steps:
- Contact Exclusive Hosting Support: Since your website is hosted with Exclusive Hosting (https://www.exclusivehosting.net/), they should have the necessary resources and expertise to help you resolve the downtime issue. I recommend reaching out to their customer support as soon as possible. They will be able to investigate the cause of the downtime and work towards restoring your website to its normal state.
- Provide Website Data: When contacting Exclusive Hosting support, make sure to provide them with all relevant details about your website, the nature of the downtime, and any error messages you’ve encountered. This information will assist them in diagnosing and fixing the problem more efficiently.
- Professional Help: If you find that resolving the downtime requires technical expertise beyond your scope, you might want to consider seeking professional assistance. The WordPress community is home to skilled developers who specialize in troubleshooting and resolving website issues. You can explore this option by visiting https://jobs.wordpress.net/post-a-job/ to hire a professional who can help you address the issue professionally.
Please remember that resolving downtime issues often requires technical knowledge and access to the hosting environment. I encourage you to get in touch with Exclusive Hosting’s support team as your first step, as they have direct access to your hosting environment and can provide tailored assistance.
Hope this helps.
- This reply was modified 1 year, 7 months ago by Saad Ahyat Hasan.
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught TypeErrorHello @dacardona
If disabling all plugins and revert to default theme couldn’t solve your problem, I recommend the following steps:
- Backup Your Site: Before making any changes, it’s essential to create a complete backup of your WordPress site. This ensures that you can restore your site to its previous state if needed.
- Download Fresh WordPress Files: Visit www.ads-software.com and download the latest version of WordPress. Extract the ZIP file on your computer.
- Replace Core Files:
- Using an FTP client or your hosting’s file manager, access your WordPress installation directory.
- Delete the
wp-admin
andwp-includes
folders within your WordPress directory. - Upload the corresponding
wp-admin
andwp-includes
folders from the fresh WordPress download to your hosting, overwriting the existing folders.
- Check PHP Compatibility:
- Log in to your hosting control panel and locate the PHP settings.
- Ensure that you’re using a PHP version that’s compatible with the latest WordPress version. PHP 7.3 or higher is recommended.
- If you’re unsure about your current PHP version, you can create a file named
phpinfo.php
with the content<?php phpinfo(); ?>
, upload it to your server, and access it in a browser to check your PHP version.
- Test Your Site:
- Visit your WordPress site and carefully test its functionality.
- Pay close attention to the specific error that you encountered earlier. Check if it has been resolved.
- Test different pages, features, plugins, and interactive elements to ensure everything is working as expected.
- Monitor for Issues:
- Observe your site over the next few days to ensure that the changes you made haven’t introduced new problems.
- If you notice any unusual behavior, broken functionality, or errors, investigate further.
I hope this helps.
Forum: Developing with WordPress
In reply to: Create Password protected category for Pages, not postsHello @dannyhonfleur
I hope you’re doing well today.
If you are want to filter certain pages for logged in user only, you can do it by utilizing Action Hooks like this:
<?php /** * Plugin Name: Custom Page Filter * Plugin URI: your-plugin-uri * Description: Filter pages by name for logged-in users only. * Version: 1.0 * Author: Your Name * Author URI: your-author-uri * License: GPL2+ * License URI: https://www.gnu.org/licenses/gpl-2.0.txt */ // Exit if accessed directly. if (!defined('ABSPATH')) { exit; } function custom_page_filter_by_name($query) { if (is_admin() || !is_user_logged_in()) { return $query; } if ($query->is_main_query() && $query->is_page) { // Array of page names you want to display to logged-in users. $allowed_page_names = array('page_name_1', 'page_name_2', 'page_name_3'); // Get the page ID using the page names. $page_ids = array(); foreach ($allowed_page_names as $page_name) { $page = get_page_by_title($page_name); if ($page) { $page_ids[] = $page->ID; } } if (!empty($page_ids)) { // Set the query to include only the pages with the specified names. $query->set('post__in', $page_ids); } } return $query; } add_action('pre_get_posts', 'custom_page_filter_by_name');
You can copy the code above and save it as something.php and then upload it within plugin folder inside wp-contents. And to filter certain pages, pay attention to this part:
$allowed_page_names = array('page_name_1', 'page_name_2', 'page_name_3');
Change ‘page_name_1’, ‘page_name_2’, ‘page_name_3’ based on your actual page titles.
Hope it helps.
Forum: Developing with WordPress
In reply to: Looking for specific wp theme functionalityOh my goodness! I am absolutely shocked to hear that! I’ve been using Themeforest for some time, and I had no idea about the potential performance and security issues. The fact that there might be thousands of infected sites due to plugins from Themeforest is deeply concerning. I never imagined that such a popular repository could have such risks.
Thank you for bringing this to my attention. I’ll definitely be more cautious and consider other options in the future. Security and performance are essential, and I can’t take any chances with my website or those I develop for others. Wow, this is truly eye-opening!
Forum: Developing with WordPress
In reply to: Looking for specific wp theme functionalityIf you’re looking for a photography theme to showcase your creative work, I suggest you explore the photography themes available on ThemeForest. They have a dedicated category for WordPress creative themes, specifically for photography websites.
You can find a variety of photography themes with different features and designs that can beautifully showcase your images and create an immersive experience for your visitors. Here’s the link to the photography category on ThemeForest:
Photography Themes on ThemeForest
I hope you find the perfect photography theme that complements your creative work. If you have any more questions or need further assistance, feel free to ask! Happy website building!
Forum: Everything else WordPress
In reply to: Problem in image loadingHi there,
Here are some steps you can take to troubleshoot the issue with the featured image not showing:
- Clear Your Browser Cache: The problem might be related to cached data in your browser. Try clearing your browser’s cache by using the appropriate keyboard shortcut for your operating system:
Ctrl + F5
for Windows,Command + Shift + R
for macOS,Ctrl + F5
for Linux. Clearing the cache will force the browser to fetch the latest content from the server, which might resolve the issue. - Try a Different Browser: If clearing the cache doesn’t work, try accessing the website using a different web browser. Sometimes, specific browsers can have issues with certain websites or cached data. Trying an alternative browser can help determine if the problem is browser-specific.
- Disable Browser Extensions: Browser extensions or add-ons might interfere with the loading of images or cause caching problems. Try disabling your browser extensions temporarily and then check if the featured image displays correctly.
- Check on Different Devices: If possible, check your website on a different device, such as a smartphone or tablet. This will help determine if the issue is specific to your current device or network.
By following these steps, you can try to rule out common issues that might be causing the featured image not to display correctly for you. If the problem persists even after trying these steps, please provide additional information, such as your browser type and version, operating system, and any error messages you encounter. This information will help us further troubleshoot the issue to ensure you can view the featured image as intended.
Since I can see the featured image without any issues, it indicates that the problem might be specific to your end. By trying the suggested steps, you can attempt to identify and resolve the issue, ensuring you can view the featured image as well. If you still face difficulties, don’t hesitate to reach out for more specialized assistance from a web developer or seek help on support forums.
Forum: Everything else WordPress
In reply to: Few images not loadingHi there,
Your problem might be related to browser caching, which means that the old version of the images is stored in your browser’s cache and is being loaded instead of the new ones.
To resolve this, I recommend clearing your browser’s cache or do force refresh. Here’s how you can do it:
- Windows: Press
Ctrl + F5
simultaneously on your keyboard. - macOS: Press
Command + Shift + R
simultaneously on your keyboard. - Linux: Press
Ctrl + F5
simultaneously on your keyboard.
Performing a hard refresh with these keyboard shortcuts will force the browser to ignore cached content and reload the webpage entirely from the server, which can often resolve issues with missing images, outdated content, or other display problems.
If the issue persists even after performing a hard refresh, it may be related to other factors, and further troubleshooting might be needed. If you have any other questions or need more assistance, feel free to ask!
Forum: Fixing WordPress
In reply to: Impossible to access /wp-admin/Hi there,
I’m sorry to hear that you’re facing issues accessing the wp-admin due to theme compatibility with PHP 8.1. I’d be glad to help you resolve this problem.
One way to get back into your wp-admin is by switching to a default theme that is known to be compatible with PHP 8.1, such as the “twenty*” themes. To do this, you’ll need to access your WordPress files using FTP (File Transfer Protocol). Here are the steps you can follow:
- Connect to your website using an FTP client. If you don’t have one installed, you can use FileZilla, which is a popular free FTP client.
- Once connected, navigate to the “wp-content” folder in your WordPress directory.
- Inside the “wp-content” folder, create a new folder and name it something like “Themes.Backup” or “Themes.Old” (you can choose any name you prefer). This will be your backup folder to store your current theme.
- Now, locate the folder of the problematic theme. You mentioned it’s the “Pathway” theme, so find the “pathway” folder inside the “wp-content/themes/” directory.
- With the “Pathway” theme folder selected, cut (or copy) and paste it into the “Themes.Backup” (or your chosen backup folder) that you created earlier. This will move the theme out of the active themes folder.
- Once you’ve moved the “Pathway” theme to the backup folder, WordPress will automatically fall back to the default theme (e.g., Twenty Twenty-One, Twenty Twenty-Two) since the active theme is no longer available.
- Now you should be able to access your wp-admin again using the default theme.
By doing this, you can avoid the theme compatibility issue with PHP 8.1. If you have access to your wp-admin again and want to further troubleshoot the issue with the “Pathway” theme, you can consider reaching out to the theme developer for an update or look for alternative themes that are compatible with PHP 8.1.
Remember to be cautious when making changes via FTP, as it directly affects your website’s files. If you’re unsure or uncomfortable with this process, it’s always a good idea to consult with a professional or your web hosting support for assistance.
I hope this helps! If you have any more questions or need further assistance, feel free to ask. Good luck!
Forum: Everything else WordPress
In reply to: Search of plugins does not work properlyHi @aleksmiljka,
Does it still happen if you temporarily disable all plugins, and switch to one of the Twenty* themes?
If not, them try re-activating the plugins one-by-one until the problem re-appears. Once you’ve found the conflicting plugin, you can contact it’s author for support.
Forum: Fixing WordPress
In reply to: Installation failed: Download failed. UnauthorizedHi @amanhstu,
Does it still happen if you temporarily disable all plugins, and switch to one of the Twenty* themes?
If not, them try re-activating the plugins one-by-one until the problem re-appears. Once you’ve found the conflicting plugin, you can contact it’s author for support.
Forum: Developing with WordPress
In reply to: output of a function in BOLDI don’t think I have any other idea. The last thing to should try maybe change input type to button. Instead of <input type=”button”>, maybe you should utilize <button> instead. For more robust functionality.
With <button>, you just need something like this to have partially bold text.<button type="submit">This is <b>Bold</b></button>
So, maybe you can try something like this instead.
<div class="prezzo"><form> <?php $test = get_post_meta( get_the_ID(), "function_prezzo_minimo", true ); <button type="submit" class="prezzo"> da <b>$test</b> euro/notte </button> ?> </form></div>
If this doesn’t work either. I’m sorry. I can’t help anymore.
Forum: Developing with WordPress
In reply to: output of a function in BOLDFor the previous answer, try to change double quote “<b>” “</b>” with single quote one. Since it’s already wrapped with double quote. Like this:
<div class="prezzo"><form><input type="button" class="prezzo" value="da <?php echo '<b>' . get_post_meta( get_the_ID(), "function_prezzo_minimo", true ) . '</b>'; ?> euro/notte"> </form></div>
Or, wrap it in a span with a class assigned to it
<div class="prezzo"> <form> <input type="button" class="prezzo" value="da <?php $test = get_post_meta( get_the_ID(), "function_prezzo_minimo", true ); echo "<span style='font-weight:700;'>$test</span>"; euro/notte"> </form> </div>