Akramul Hasan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: starting an about us page on wordpressHi,
Starting a page with an image is recommended in terms of optimization and speed.
Here I am giving you a screenshot just to get an idea of how you can set up your layout and what type of content would be best.https://www.awesomescreenshot.com/image/30863938?key=48f48ee6a0c8486971e9f982eb6c788c
Thanks
- This reply was modified 2 years, 4 months ago by Yui.
- This reply was modified 2 years, 3 months ago by Jan Dembowski.
Forum: Fixing WordPress
In reply to: Connection of files in the plugin with each otherHi,
It’s a PHP file with a plugin header comment.
Bellow is a sample of header comment/** * Plugin Name: My Basics Plugin * Plugin URI: https://example.com/plugins/the-basics/ * Description: Handle the basics with this plugin. * Version: 1.10.3 * Requires at least: 5.2 * Requires PHP: 7.2 * Author: John Smith * Author URI: https://author.example.com/ * License: GPL v2 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Update URI: https://example.com/my-plugin/ * Text Domain: my-basics-plugin * Domain Path: /languages */
Thanks
Forum: Fixing WordPress
In reply to: Remove “Category Archive for” form titleHi @sebastianhduy
That’s awesome!
ThanksForum: Fixing WordPress
In reply to: WP contentHi,
You should be able to access all files and folders of WP core except you have no permission issue from the server. In your case, it sounds like your server doesn’t allow to access other files.
You should check your FTP configuration and permission.Thanks
Hi,
You can do some CSS as in each category page has a class in the body tag generated by Woocommerce whose name will beterm-{name of your category}
. so if your category name is ‘clothing’ write CSS like.woocommerce.archive.term-clothing .content { width: 100%; border: none; } .woocommerce.archive.term-clothing .sidebar { display: none!important; }
- This reply was modified 2 years, 4 months ago by Akramul Hasan.
Forum: Fixing WordPress
In reply to: Remove “Category Archive for” form titleHi @sebastianhduy
Just do these 2 steps.1. Take a backup of your current archive.php file. And put the archive.php file I am just giving you
https://we.tl/t-nd3VvqIIVP2. Put the below code in your functions.php file at very bottom
add_filter( 'get_the_archive_title', function ( $title ) { if( is_category() ) { $title = single_cat_title( '', false ); } return $title; });
Forum: Fixing WordPress
In reply to: Remove “Category Archive for” form titleHi @sebastianhduy
That was working for me.
Did you remove your old code completely?
Did you put my given code on your active theme functions.php file?Most importantly make sure the code is on very bottom of the funcitons.php file.
Here is another code you can try
add_filter( 'get_the_archive_title', function ( $title ) { if( is_category() ) { $title = single_cat_title( '', false ); } return $title; });
This also worked for me, just tested
https://prnt.sc/OohGersWX9MDIf still does not work, please send me your
archive.php
andcategory.php
fileRegards
Forum: Fixing WordPress
In reply to: WordPress Parts Specifications WebsiteHi @johnwoods21
No matter how many similarities within your Engine components or specs etc, Taxonomy will differentiate. If you have a Taxonomy named ‘Year’ and it has terms like ‘2012, 2013, 2014, 2015 ….’ and when you will publish a post of Engine you will assign any of the terms. You may have multiple Taxonomy and 100 of terms of each, no matter. Everything will be hierarchical according to the Taxonomy. And your Search query will be based on Taxonomy.
In this case, this link will help you lot
https://developer.www.ads-software.com/reference/classes/wp_query/#taxonomy-parametersThanks
Forum: Fixing WordPress
In reply to: Banner Mobile Display IssueHello @4familyes ,
Your site has built with Visual Composer page builder. So much inline CSS is in the source code which is not good for optimization.
Anyway, I have written some CSS which will make looks good your typography in smaller devices. The overall Background image will be good.
But my suggestion will be to use a dark overlay over the background image so your white text visibility will be more clear.Here is the code
@media all and (max-width:640px){ .vc_general.vc_cta3 { padding: 28px 15px; } .vc_cta3-content h1 { font-size: 24px; } header.vc_cta3-content-header h2 { line-height: 30px !important; } }
To add custom CSS code:
1. Go to your site’s dashboard.
2. On the left sidebar, click on Appearance -> Additional CSS.
3. Paste the code and click on the Save Changes button.Forum: Fixing WordPress
In reply to: WordPress Parts Specifications WebsiteHi,
I think this would be great if you go with a custom post type of ‘Engine’ with custom taxonomy ‘Year’ and ‘Model’.
Instead of a meta field, taxonomy will be better to interconnect and make the search query more interactive.
For example, the user, search year of 2020 and model of 256, only the posts of associated with these terms will be in the search results.Best of luck
Forum: Fixing WordPress
In reply to: Banner Mobile Display IssueHi @4familyes
Surely this is the mobile responsive issue. By applying some CSS this can be fixed. But on which page does this banner live actually? I can’t see this banner on your homepage.
Your given preview link won’t work without login.Without having the page live with this banner, no way to find out the CSS code that will solve the issue.
Could you please give a page link where this banner is live?
Regards
Forum: Fixing WordPress
In reply to: Post LostHi @europeanbargee ,
You didn’t mentioned is it was page or post. Whatever it was, if you really hit the Save Draft button, then you should find it the list of the pages or posts. In the list the draft item has a label in bold text. See the screenshot bellow:You can find the page list from Dashboard-> pages
And post list from Dashboard-> postsRegards
Forum: Fixing WordPress
In reply to: just installed WordPress with new Templet and getting this issue.Hi @fbriderspk1 ,
It seems you are running into a conflict between your theme and 2 plugins ‘elementskit’ &
‘google-listings-and-ads’.To identify who is actually causing the issue, you can switch to the default theme and then check. If the problem resolves then surely the issue is on your theme.
And if still, the problem exists, try to deactivate both plugin. In this way you can at least be sure where is the problem actually. And then it will be easy to take further action.
Regards
Forum: Fixing WordPress
In reply to: WordPress Parts Specifications WebsiteHi,
Seems you actually need a search-enabled site where users will be able to make a search easily to find specific data.
You can create a custom post type for'Engine'
and you can use ACF plugin to tie some custom fields likeYEAR
etc. And then use a search plugin to make it easy for your user to do the search. For this, you can use Custom Search by BestWebSoft OR Search & FilterBoth of them have tons of options to make your search system so easy for your user.
Forum: Fixing WordPress
In reply to: Remove “Category Archive for” form titleHello,
Please remove your code from archive.php, keep it as it was.
You just put the below code into yourfunctions.php
file.function wpfy_edit_archive_title($title,$original_title, $prefix){ // Limit it only for category archive if(is_category()){ $title = sprintf(__('%1$s', 'textdomain'), $original_title); } return $title; } add_filter('get_the_archive_title','wpfy_edit_archive_title',10,3);
It’s working on my side. If still not working, let me know.
Regards