Access our premium support and let us know your problems, we will help you solve them.

0
No products in the cart.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: WP: how to remove version number in wp_enqueue_script? #9551
    blankjason
    Participant

    try something like this:

    wp_deregister_script('jquery'); 
    wp_register_script('jquery', ('http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'), false, NULL);
    wp_enqueue_script('jquery');
    

    The $ver and $in_footer are optional. So just leave them off.

    Also, if you use the google cdn then it will be hard to hide the version any way, its in the url.

    in reply to: Using Google Fonts API #10082
    blankjason
    Participant
    font-family: 'Ubuntu', Arial, serif; font-weight: 700; 
    

    EDIT: You have to include separate font libraries of italics and bolds in order for them to work as intended.

    If you don’t include the italic and bold versions, the browser will try to compensate, but will more than likely do a very poor job. More about this in this List Apart article.

    If you want to add font styles to your fonts, always add the extra font styles to and specify it in your document. Especially in large serif font it can make a huge difference.

Viewing 2 posts - 1 through 2 (of 2 total)