Aminul Haq Siam
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Check if Featured Image Is Set Before PublishingHello @samuelbacay,
Yes, it is possible to check the featured image before publishing custom post. You can use this plugin to check featured image.
Forum: Everything else WordPress
In reply to: Users loginHello @akpae5,
This can happen for several reasons. I think it will help you.
Forum: Fixing WordPress
In reply to: Warning: call_user_func_array() expects parameter 1Hello @bmuzammil,
In class-wp-hook.php on line 308, A hook is called and a callback function is also called behind the scene. Cannot find the callback function. That’s why this warning is showing.
No, you don’t need a child theme. You want to work only css related tasks.
Hello @conniebuschlcc,
You are correct. Not all types of customizations require a child theme. In some cases, you can make certain modifications without creating a child theme. Here are some scenarios where a child theme may not be necessary:
Custom CSS: If you only need to add custom CSS styles to your theme, you can usually do so using the theme’s built-in customizer or a custom CSS plugin. This allows you to add your styles without directly modifying the theme files.
Custom JavaScript: Similar to custom CSS.
Custom Templates: If you want to create custom page templates you can often do this by creating template files in your theme’s directory. However, it’s still advisable to use a child theme if you plan to modify the core template files of the parent theme.
Regarding the .json file you mentioned, it’s possible that the specific customization you have in mind is related to the theme’s configuration or settings stored in a JSON file. If that’s the case, then yes, using a child theme would be necessary to override or modify the default JSON settings without modifying the parent theme’s files directly.
In summary, while some customizations can be made without a child theme, it’s generally recommended to use a child theme when making significant modifications to a parent theme, especially if you plan to modify core theme files or override default settings. It helps maintain the integrity of the parent theme and ensures that your customizations remain intact during theme updates.
Hello @conniebuschlcc,
In general, a child theme is needed when you want to add features or update anything to a parent theme without directly editing its files. By creating a child theme, you can preserve your customizations even when the parent theme is updated.
If you are using a custom theme called “TwentyTwentyThree” or any other theme, the need for a child theme depends on your specific requirements. Here are some common scenarios where a child theme may be beneficial:
Customizations: If you want to modify the design, layout, or functionality of the theme, it is recommended to create a child theme. This way, your changes will be isolated from the parent theme and won’t be lost during updates.
Theme Updates: When the parent theme receives updates, installing them can overwrite any modifications you’ve made directly to the parent theme’s files. By using a child theme, you can update the parent theme while keeping your customizations intact.
Code Customizations: If you need to add custom code snippets, functions, or hooks to your theme, using a child theme allows you to do so without modifying the parent theme directly.
Creating a child theme involves creating a new folder for your child theme and creating specific files like style.css and functions.php to inherit and modify the parent theme’s styles and functionality. You can refer to the WordPress Codex or the official WordPress Developer Documentation for detailed instructions on creating a child theme. Or you can contact with WordPress developer also.
I found it from online. Because Writing about child themes will take a lot of time. I think this information will help you. Thanks.
- This reply was modified 1 year, 8 months ago by Aminul Haq Siam.
Forum: Everything else WordPress
In reply to: Media library missing filename attributeHello @pa247,
You can ask your problem in this support forums.
Forum: Everything else WordPress
In reply to: Media library missing filename attributeHello @pa247,
I’m sure it’s conflicting with something. I think you need to consult with a WordPress developer. He will detect the specific problem.
Forum: Developing with WordPress
In reply to: Show subcategories on hovering over category imageHello @pankajsharma22034,
You can do it through this megamenu plugin. Follow the above link please.
Forum: Developing with WordPress
In reply to: Show subcategories on hovering over category imageHello @mayuripatel ,
I was thinking that he using elementor image features to do that. Whatever, mega menu plugin could be the another option to add sub categories.
Thanks for your suggestion.
Forum: Developing with WordPress
In reply to: Show subcategories on hovering over category imageHello @pankajsharma22034,
It seems that you are using the Elementor page builder. You need to add a hover effect when mouse over the main category image. If you can’t do that better to contact with WordPress developer. It’s a simple task.
Hello @zero47,
If you’re unable to see the wp-config.php file in your XAMPP server’s WordPress installation directory, there are a few possible reasons for this:
Hidden files: By default, some operating systems and file explorers hide certain files, including files that start with a dot (.) like wp-config.php. Make sure that your file explorer is set to display hidden files. Check your file explorer settings and enable the option to show hidden files.
File extension visibility: If your file explorer is configured to hide file extensions, the wp-config.php file might be named as wp-config instead of wp-config.php. Verify if file extensions are visible in your file explorer settings.
Incorrect installation path: Double-check that you are looking in the correct directory for your WordPress installation. The wp-config.php file should be located in the root directory of your WordPress installation.
Incorrect XAMPP setup: It’s possible that there was an issue during the installation or setup of XAMPP.
If you’ve confirmed the above points and still can’t find the wp-config.php file, you can try manually creating the file using a text editor ( Notepad, Sublime Text, Visual Studio Code).
Forum: Everything else WordPress
In reply to: Media library missing filename attributeHello @pa247,
Go to the Media Library and click on the “Screen Options” tab at the top of the page. Ensure that the “filename” option is selected.
If the “filename” option is already checked and reappears with default settings, it indicates that a specific plugin or theme feature was causing the issue. You can then reactivate the plugins and theme features one by one to identify the culprit. If you face still this problem, you can contact with WordPress developer.
Forum: Fixing WordPress
In reply to: Pictures on new pages, products or posts won’t show in frontendHello @viviavonqik,
If you’re experiencing issues with images not showing up in both the frontend and backend of your WordPress site, and you’re also encountering a “400 Bad Request” error, you can follow the below steps.
Check server logs: Contact your hosting provider and ask them to check the server logs for any errors or issues related to image uploads. They might be able to identify any server-side problems that could be causing the issue.
Increase PHP memory limit: Insufficient PHP memory can sometimes lead to issues with image uploads. You can try increasing the PHP memory limit by adding the following line to your site’s wp-config.php file:
define(‘WP_MEMORY_LIMIT’, ‘256M’);Disable CDN or caching plugins: If you’re using a CDN (Content Delivery Network) or caching plugins, temporarily disable them to see if the issue persists. Sometimes, these plugins can interfere with image uploads or cause caching-related problems.
Verify URL settings: Go to “Settings” -> “Media” in your WordPress admin panel and check the “Store uploads in this folder” setting. Ensure that the path is correct and points to the correct folder on your server.
Update WordPress, theme, and plugins: Make sure you have the latest versions of WordPress, the Astra theme, and all plugins installed. Outdated software can sometimes cause compatibility issues. Update everything to the latest versions if necessary.
If none of those steps solve your problem, you can contact with WP developer or contact with the affected theme/plugin support team.
Forum: Everything else WordPress
In reply to: Media library missing filename attributeHello @pa247,
If you have two WordPress sites with the same theme, plugins, and hosting, but you’re experiencing different options in the Media Library Screen Options, it’s possible that there could be a few reasons for this discrepancy. You can follow the below steps.
Clear cache: Start by clearing the cache on the site where the “filename” option is missing. This can be done through a caching plugin or by clearing your browser cache. Sometimes cached data can cause inconsistencies in the WordPress admin interface.
Check user roles and permissions: Ensure that you are logged in with an account that has the necessary permissions to modify media settings. WordPress user roles, such as Administrator, Editor, or Contributor, have different levels of access and capabilities. Make sure you’re using an account with sufficient privileges.
Verify plugin compatibility: Although you mentioned deactivating all the plugins on the problematic site, it’s worth double-checking that there aren’t any conflicting or outdated plugins still causing the issue. Disable all plugins temporarily and verify if the “filename” option appears. If it does, reactivate the plugins one by one to identify the culprit.
Compare theme settings: While you mentioned using the same theme, there might be specific theme options or settings that differ between the two sites. Review the theme settings, particularly any options related to media or the Media Library, to ensure they are configured consistently.
Update WordPress and plugins: Check if both sites are running the latest version of WordPress and all the plugins. Outdated software can sometimes cause compatibility issues and unexpected behavior. Update everything to the latest versions if necessary.
Check for custom code or modifications: If you or someone else has made custom modifications to either the theme or the site’s code, it’s possible that these changes could be affecting the Media Library options. Review any customizations made to ensure they haven’t inadvertently removed or altered the “filename” option.
Temporary theme switch: As a last resort, temporarily switch the theme on the site where the “filename” option is missing. Activate a default WordPress theme like Twenty Twenty-One and see if the option appears. If it does, then the issue likely lies with the original theme, and you may need to reach out to the theme’s developer for assistance.
By following these steps, you should be able to identify and resolve the issue with the missing “filename” option in the Media Library of your WordPress site.