badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Alberto

Forum Replies Created

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • in reply to: Double title tag in the home page #59990
    Alberto
    Participant

    I solved it so, in the file functions.php child I put this code that reverses the sequence: now it shows the motto and then the title of the blog, this is important for SEO

    add_filter( 'pre_get_document_title', function( $title ) {
    
        if ( is_home() || is_front_page() ) {
    
            $title = get_bloginfo( 'description' ) .' | '.get_bloginfo( 'name' );
        }
         return $title;
    }
    );
    in reply to: Double title tag in the home page #59964
    Alberto
    Participant
    in reply to: Double title tag in the home page #59957
    Alberto
    Participant

    Your code hides the automatic title tag on the home page (in the source code), but it does not show the wp_portfolio theme, it shows the homepage as text without color, without formatting

    in reply to: Double title tag in the home page #59798
    Alberto
    Participant

    I’ll explain it better. In the home does not show the theme.

    in reply to: Double title tag in the home page #59786
    Alberto
    Participant

    So it does not show the home correctly

    in reply to: New font #59608
    Alberto
    Participant

    Tanks, I did it.

    in reply to: New font #59584
    Alberto
    Participant

    Post before no good. This correct code:

    
    @font-face {
        font-family: SnellRoundhand;
        src: local ('SnellRoundhand'),
            url('http://SITE.COM/wp-content/themes/wp-portfolio/font-awesome/snell-roundhand/SnellRoundhand.ttf') format('truetype'),
            url('http://SITE.COM/wp-content/themes/wp-portfolio/font-awesome/snell-roundhand/SnellRoundhand.eot') format('embedded-opentype'),
            url('http://SITE.COM/wp-content/themes/wp-portfolio/font-awesome/snell-roundhand/SnellRoundhand.woff') format('woff'),
            url('http://SITE.COM/wp-content/themes/wp-portfolio/font-awesome/snell-roundhand/SnellRoundhand.woff2') format('woff2');
    }
    in reply to: New font #59583
    Alberto
    Participant

    I think it’s OK now.

    Folders directory: themes/wp-portfolio/font-awesome/snell-roundhand

    Font: SnellRoundhand .ttf, .otf, .woff

    In the child css:

    @font-face {
    	font-family: SnellRoundhand;
        src: url(SnellRoundhand.ttf) format('truetype'),
               url(SnellRoundhand.woff) format('woff'),
               url(SnellRoundhand.eot) format('embedded-opentype');
    }
    
    /* Copyright sotto le frasi */
    .frasicopy { 
    	font-family: SnellRoundhand, times, arial;
    	font-size: 1.1em;
    	font-style: normal;
    	color: #118040;  	
    }
    in reply to: New font #59564
    Alberto
    Participant

    The Snell Roundhand font is free.
    I have put in the css and it works. I did not download it from the web.
    I only put this css in the child so: font-family: “Snell Roundhand”, arial;

    in reply to: Remove the bar #59464
    Alberto
    Participant
Viewing 10 posts - 16 through 25 (of 25 total)