Responsive is one of the most important features of any modern website. A responsive website responds on to most of the modern devices. Responsive websites provide a smart presentation to all users.

So, to support responsive viewport in your website is mandatory and you can’t skip it at all if you want to represent your websites to all users who are using a modern device.

Benefits to support responsive viewport

Benefits to support responsive viewport in your website is a lot. It increases the readability of your website content to the readers. Because all users of different devices can read your website easily.

In google search indexing, this responsive viewport plays an important role. It helps to generate more traffic and to get a better rank in google search engine.

So, to get a better result of your website, supporting responsive viewport is needed.

How to support responsive viewport in Genesis?

Now, I hope you are interested in supporting responsive viewport in your Genesis child theme. It is very simple to support in your child theme. However, make your that your child theme is ready to support it.

If you don’t make ready your child theme and need more guideline, you can follow this article. You also should know about Genesis hooks and how to use the theme. You can read this article to read about how to use genesis hooks and filters.

I hope your child theme is ready and you know about Genesis hooks and filters. Now, simply add the following codes in the functions.php file-

<?php 
add_theme_support( 'genesis-responsive-viewport' );

This code snippets must be inside the initial hooks or after_setup_theme. If you don’t have this hook in your functions.php file, add the following codes with this hook-

<?php 
function wpq_theme_support(){
  add_theme_support( 'genesis-responsive-viewport' ); 
}
add_action('init','wpq_theme_support');

Or you can use it using the after_setup_theme hook. Like this-

<?php 
function wpq_theme_support(){
  add_theme_support( 'genesis-responsive-viewport' ); 
}
add_action('after_setup_theme','wpq_theme_support');

You can also check the main code snippets from the official site of StudioPress.

Now, your site is supported with the responsive viewport. Just enjoy it.


Share It

Hello, I am Binsaifullah, a web programmer, designer and developer. Besides, I am an author and instruction of WordPress and write blog on WordPress. I am also work as a freelancer and provide freelancing service to my clients. I am always dedicated to the best service. Have a Cup of Coffee with YOU.

You may also like :

8 responses to “How to Support Responsive Viewport in Genesis”

  1. Thunderbird support says:

    Its like you read my mind! You seem to know so much
    about this, like you wrote the book in it or something.
    I think that you can do with some pics to drive the message home a bit, but instead of
    that, this is excellent blog. An excellent read. I will certainly be back.

  2. cialis 20mg says:

    I loved as much as you’ll receive carried out
    right here. The sketch is tasteful, your authored subject matter stylish.

    nonetheless, you command get got an impatience over that you wish be delivering
    the following. unwell unquestionably come
    further formerly again since exactly the same nearly very
    often inside case you shield this increase.

  3. Royce says:

    Good post. I learn something totally new and challenging on blogs
    I stumbleupon on a daily basis. It will always be interesting
    to read through articles from other writers and practice something from other websites.

  4. Viagra says:

    I’m truly enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it
    much more enjoyable for me to come here and visit more often. Did you hire out a
    developer to create your theme? Superb work!

  5. Robert says:

    I think other website owners should take this web site as a model, very clean and excellent user
    friendly style.

  6. Noble Hemp says:

    Enjoyed looking through this, very good stuff, thanks.

shares