SEO - Individual meta-description and editing meta-title for each site w/o plugin
-
Hi, laytheme automatically uses the same meta-description for each site. Is there a workaround to define individual meta-descriptions and edit meta-titles for each site manually - without plugins like Yoast or what ever, there always seems to be problems with that. it also can be a not so elegant workaround.
Best
Andreas -
Dear @kappe
You can enter your own Meta Information in 'Lay Options - Custom CSS & HTML"
Is this what you are looking for?
Additionally:
https://www.w3schools.com/tags/tag_meta.asp
https://hostpapasupport.com/add-meta-tags-website/
Let me know :)
Best Wishes
Richard -
@kappe Hi, I just believe this can be a solution for this. I don't know is it good for site, or is it safe but it works for me, so I want to share.
I just add this code to, Appearance | Theme Editor | Theme Functions (functions.php) files. I am just an amateur but I think this works for me. I just change the Page Names, Keywords and Descriptions.
function add_meta_data_firefog() { if ( is_page('Page-Name-One') ) { echo'<meta name="Keywords" content="Keyword One, Keywords Two">'; echo'<meta name="Description" content="Page Descriptions.">'; } if ( is_page('Page-Name-Two') ) { echo'<meta name="Keywords" content="Keyword One, Keywords Two">'; echo'<meta name="Description" content="Page Descriptions.">'; } if ( is_page('Page-Name-Three') ) { echo'<meta name="Keywords" content="Keyword One, Keywords Two">'; echo'<meta name="Description" content="Page Descriptions.">'; } } add_action('wp_head', 'add_meta_data_firefog');
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it