Forum Replies Created
-
AuthorPosts
-
wensolutionsKeymaster
Hello,
Once please replace below given Code with previous to fix the issue you have mentioned.
/** * Adds schema information to WordPress generated image tag. */ function stiver1_wp_image_schema_attributes( $attr, $attachment, $size ) { $is_edit = isset( $_GET['context'] ) ? 'edit' === $_GET['context'] : ''; if ( $is_edit ) { return $attr; } $attachment_id = isset( $attachment->ID ) ? $attachment->ID : 0; if ( ! $attachment_id ) { return $attr; } $kora_image = wp_get_attachment_image_src( $attachment_id, $size ); echo '<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject">'; echo '<meta itemprop="url" content="' . esc_url( $kora_image[0] ) . '">'; echo '<meta itemprop="width" content="' . esc_attr( $kora_image[1] ) . '">'; echo '<meta itemprop="height" content="' . esc_attr( $kora_image[2] ) . '">'; echo '</span>'; $attr['itemprop'] = 'image'; return $attr; } add_filter( 'wp_get_attachment_image_attributes', 'stiver1_wp_image_schema_attributes', 10, 3 );
Hope this helps.
Please get back to us if the above code snippet didn’t work for you.
Regards.
November 24, 2020 at 6:01 am in reply to: How to modfy homepage text title into Academic theme? #139284wensolutionsKeymasterHello,
“Edit Page” appears after you login to your site. Have you logged in ?
Thank you.
November 24, 2020 at 5:40 am in reply to: How to modfy homepage text title into Academic theme? #139282wensolutionsKeymasterHello,
Regarding your query, once please try editing the page directly from the front page.
Regards.
wensolutionsKeymasterHello,
Regarding your query, the issue you have reported is the known issue.
We have already reported the theme author regarding the issue. The issue will be fixed in the coming release.
Hoping for your kind co-operation.
Regards.
November 24, 2020 at 4:53 am in reply to: Poor customer support, cant even able to find demo data file #139280wensolutionsKeymasterwensolutionsKeymasterHello @SHADABDURRANI,
First of all, sorry for the inconvenience.
Actually, regarding the demo file of Real estate Base Pro theme, you can import demo data from one click.
To import demo data following steps is required
– First “Catch Themes Demo Import” plugin is required
– “Tp Education” plugin should be active
– Then go to Admin Panel >> Appearance >> Catch Themes Demo Import
from there just click a import button one of Demo data to import Data.You can get your site as the demo.
You can then manually change the content as per your requirement.
Further, please go through the instruction link given below for detailed assistance.
https://themepalace.com/instructions/themes/realestate-base-pro/
Hope this helps.
If you have further queries, let us know.
Regards.
wensolutionsKeymasterHello,
Regarding your query, we have modified and optimized your earlier provided code to make it compatible for schema and SEO purpose. This below code will only add schema properties to those image tags which are generated using “the_post_thumbnail();” function. You need to paste this code snippet in your child themes’ functions.php file or in your custom plugin, please never put code snippets in main theme files directly as that can remove all the changes during theme update. Also you should not make any modification directly in your parent theme as all of the customizations will be lost upon update to the latest version of the plugin.
So please go through the child theme for the changes. Below link helps you to create child theme.
https://wptravel.io/how-to-create-a-child-theme/
/** * Adds schema information to WordPress generated image tag. */ function stiver1_wp_image_schema_attributes( $attr, $attachment, $size ) { $attachment_id = isset( $attachment->ID ) ? $attachment->ID : 0; if ( ! $attachment_id ) { return $attr; } $kora_image = wp_get_attachment_image_src( $attachment_id, $size ); echo '<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject">'; echo '<meta itemprop="url" content="' . esc_url( $kora_image[0] ) . '">'; echo '<meta itemprop="width" content="' . esc_attr( $kora_image[1] ) . '">'; echo '<meta itemprop="height" content="' . esc_attr( $kora_image[2] ) . '">'; echo '</span>'; $attr['itemprop'] = 'image'; return $attr; } add_filter( 'wp_get_attachment_image_attributes', 'stiver1_wp_image_schema_attributes', 10, 3 );
Hope this helps.
Please get back to us if the above code snippet didn’t work for you.
Regards.
wensolutionsKeymasterHello,
Regarding your query, the button in the screenshot below which you have mentioned is on the left side of the screen and it cannot be aligned center as the button is below the content which is designed on the left side.
You can consider hiring a freelancer to get the feature.
Regards.
wensolutionsKeymasterHello,
Regarding your query, once please have a look at the screenshot below where you can add the course details from the course edit section. You cannot edit the title but can ad/edit the content in the box as screenshot below.
To change the title, you can consider hiring a freelancer or professional developer.
Regards.
November 23, 2020 at 10:29 pm in reply to: How to remove header text underneath center logo space. #139251wensolutionsKeymasterHello,
Glad we could help you.
If you have any further queries, let us know.
Regards.
wensolutionsKeymasterHello,
You add new button, and provide us with your site URL. Provide us with specific screenshot of that button and we will inspect and help you with the CSS.
Hope you understand.
Regards.
November 23, 2020 at 6:14 am in reply to: How to modfy homepage text title into Academic theme? #139217wensolutionsKeymasterHello,
Sorry for the inconvenience, the page title comes from the page list. Go to Admin Panel > Pages > All pages and edit the “Blog Page” and change the title as per your requirement.
Regards.
November 23, 2020 at 1:12 am in reply to: Audit from SemRush is telling me all my pages don’t exist #139205wensolutionsKeymasterHello,
As power theme is child theme, we have fixed the issue from the parent theme.
So, once check the issue and let us know.
Regards.
wensolutionsKeymasterHello,
Regarding your query, you can add below given CSS following the path Admin Panel > Appearance > Customize > Additional CSS to change the text hover color in page.
#page .singular-content-wrap .entry-content a:not(.more-link):not(.button):not(button) { color: #131112; }
You can add desired color code as per your requirement.
Further, you can add below given CSS following the path Admin Panel > Appearance > Customize > Additional CSS to change the button background color and hover text color as well.
.home .singular-content-wrap .entry-content a:not(.more-link):not(.button):not(button) { color: #131112; } .home .wp-block-button .wp-block-button__link { background-color: #fc7684;
You can add desired color code as per your requirement.
Hope this helps.
If you have further queries, let us know.
Regards.
wensolutionsKeymasterHello,
Regarding your query, once please provide us with your site URL and specific screenshots so that we can inspect it in detail and help you provide with button styling as of the theme’s if possible.
We can only help you with basic CSS, and there is no such feature in theme.
If you have further queries/confusion, let us know.
Regards.
-
AuthorPosts