Forum Replies Created

Viewing 15 posts - 31 through 45 (of 8,657 total)
  • Author
    Posts
  • in reply to: Request to amend the code to work on my site #139289
    wensolutions
    Keymaster

    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.

    in reply to: How to modfy homepage text title into Academic theme? #139284
    wensolutions
    Keymaster

    Hello,

    “Edit Page” appears after you login to your site. Have you logged in ?

    Thank you.

    in reply to: How to modfy homepage text title into Academic theme? #139282
    wensolutions
    Keymaster

    Hello,

    Regarding your query, once please try editing the page directly from the front page.

    https://prnt.sc/vp178z

    Regards.

    in reply to: HOW TO MANAGE HOMEPAGE SORTABLE? #139281
    wensolutions
    Keymaster

    Hello,

    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.

    in reply to: Poor customer support, cant even able to find demo data file #139280
    wensolutions
    Keymaster
    in reply to: Demo Content #139279
    wensolutions
    Keymaster

    Hello @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.

    in reply to: Request to amend the code to work on my site #139264
    wensolutions
    Keymaster

    Hello,

    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.

    in reply to: Mouse hover color in pages menu and submenu #139258
    wensolutions
    Keymaster

    Hello,

    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.

    https://prnt.sc/votpv8

    You can consider hiring a freelancer to get the feature.

    Regards.

    in reply to: Metdata in course #139255
    wensolutions
    Keymaster

    Hello,

    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.

    https://prnt.sc/vou74h

    To change the title, you can consider hiring a freelancer or professional developer.

    Regards.

    in reply to: How to remove header text underneath center logo space. #139251
    wensolutions
    Keymaster

    Hello,

    Glad we could help you.

    If you have any further queries, let us know.

    Regards.

    in reply to: Style new buttons #139218
    wensolutions
    Keymaster

    Hello,

    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.

    in reply to: How to modfy homepage text title into Academic theme? #139217
    wensolutions
    Keymaster

    Hello,

    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.

    in reply to: Audit from SemRush is telling me all my pages don’t exist #139205
    wensolutions
    Keymaster

    Hello,

    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.

    in reply to: Mouse hover color in pages menu and submenu #139202
    wensolutions
    Keymaster

    Hello,

    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.

    in reply to: Style new buttons #139201
    wensolutions
    Keymaster

    Hello,

    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.

Viewing 15 posts - 31 through 45 (of 8,657 total)