Hi there,
can you explain a little.
Do you want to view the desktop site on your mobile phone ?
When someone arrives at my website by Mobile he should see the website in desktop mode not in mobile mode .
You can use this PHP Snippet:
add_filter( 'generate_meta_viewport', function() {
return '<meta name="viewport" content="width=1024">';
} );
Adding PHP: https://docs.generatepress.com/article/adding-php/
That snippet will change the viewport so the browser always assumes the screensize is 1024px.
I must say that doing this may result in a poor usability and search engines reporting mobile usability issues eg. text too small and links to close together.
where i have to add this php
I provided the document for adding php above – here it is again:
https://docs.generatepress.com/article/adding-php/