Posts by mabuc

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

Fulltime also here..

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

contact me :)

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

Thank you envato, I got 1 sale on 70% :)

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

1

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

I’ve got a google web fonts list here: http://pastebin.com/k7CKAcTE and I am not sure why it cant retrieve the list in selectbox..

here is the code I have for functions.php

$font = get_option('square_web_font');

        if($font && $font != "None"){
            @$font = $GLOBALS["google_fonts"][$font];
            $font_name = str_replace(" ","+",$font["family"]);
            $font_variants = "";
            $font_subset = "";
            if($font["variants"]){
                $font_variants = implode($font["variants"],",");
                $font_variants = ":".$font_variants;
            }
            if($font["subsets"]){
                $font_subset = implode($font["subsets"],",");
                $font_subset = "&subset=".$font_subset;
            }
            $font_url = "http://fonts.googleapis.com/css?family={$font_name}{$font_variants}{$font_subset}";
            //wp_enqueue_style("google_fonts",$font_url,false);

            wp_register_style( 'google_fonts', $font_url ); 
            wp_enqueue_style( 'google_fonts' );  
        }

and retrieve it in my Theme Options selectbox, something like this

array( "name" => "Web Fonts",
            "desc" => "Select your google web font.",
            "id" => $shortname."_web_font",
            "type" => "select",
            "options" => $google_fonts,
"std" => ""),

something I might forgot here, I can’t retrieve it in my selectbox, anyone can help me here?

thanks

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

anyone can help?

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

Hi,

anyone here can point me a tutorial on how to add new field in “Display Options” for Custom Background..

thanks

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

How do you include 600+ google web fonts in your theme, are their any jquery to fetch the list of fonts from google api?

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

Probably have to include the font like this: http://fonts.googleapis.com/css?subset=latin,latin-ext&family=Roboto


Notice the “subset=latin,latin-ext” part.

I will try that..

EDIT: this works fine.. any link where did you get this “css?subset=latin,latin-ext”

thanks

1179 posts
    Has referred 200+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+2 more
mabuc says

Hi,

Does anyone here knows a fix why an accent letters like (ç, é, ô, ã) become bold when using roboto font?

thanks

by
by
by
by
by
by