I have a WordPress website, I want to show one of its pages in desktop view even on mobile devices. So my question is how to force desktop view for specific pages on a mobile device (WordPress)
You could try to change the meta tags as discussed here: SO: How to force desktop view on mobile devices - Bootstrap?
To change the meta tags for specific pages, you can create a custom page template, or maybe use a plugin (for example: Meta tag manager)
Maybe you can also force things with custom CSS for that page, by giving the content container (ex. .entry-content) some rule like: min-width: 1024px;?
Related
I have created API using Wordpress REST API from that API I am sending Wordpress post content to the mobile app.I have added forms and polls plugin to add different forms and polls in posts.The problem is that the shortcode for that forms and polls is not working when I pass it to mobile through API. So how can I render that shortcode to the mobile app?
One solution is to use iframes to display the shortcode.
For example :
Create a page with the shortcode in it.
Then use this page url as the src of the iframe.
And show this iframe where you need on your mobile app.
One disadvantage can be the loading time, use a loader if needed but otherwise it should do the trick.
I have one page in desktop version. I need to divide it into two pages for mobile version. I thought about making this pages with the cms (I'm using Wordpress) and add to the links in menu bootstrap classes hidden.
Is it possible to make a check box or something else to mark pages which must be hidden in desktop version?
An option here is to create two menus, one for the desktop version and one for the mobile version. There are a conditional tag in wordpress called wp_is_mobile() which you can use to display the menus conditionally. You can try something like
if(wp_is_mobile()) {
//display mobile menu
}else{
//display desktop menu
}
I would like to set up a way to be able to edit content in my template form the wordpress dashboard or new admin page.
Something like creating input boxes on the dashboard, or on a new admin page, that would update specific content I have hard coded in my template.
I'm using a one page site (long scrolling), and would like to allow people to edit the separate content areas from an admin page.
(an existing plugin that does this would be fine too)
Thanks!
I have a website with like 50-60 dynamically generated pages, where I implemented the like button along with open graph protocol (ogp).
I want to manage this pages like a regular facebook page and post to my fans, for that I have specificed myself as page admin in the meta tags and liked my posts but I can't find this page in my manage pages section.
I tested my website by adding/removing different meta tags to make it working and tested it on facebook linter tool. Somehow I got two pages in the manage pages section but the remaining are not working.
You can view my website here:
http://freshlylike.com/view.php?id=404
Please help.
Thanks,
happyhardik
That's because in order to see those pages in you Manage Pages section, the admin listed in the open graph tag has to actually click the link - according to Facebook
Each listed user must click Like on
the URL to be approved as an admin.
This is to prevent users being made
admins without their consent.
I encountered the same problem too, so might have to work around that.
I have a site currently built on Wordpress. I have a requirement to pull out the "latest post" in a category (magazine issue), to allow the latest issue to be displayed in the sidebar of a Posterous blog template, either in an iframe or by other means.
What's the best way to achieve this? Shall I write a custom PHP page which queries the database directly to output the results that I want, and then display it in an iframe on the Posterous template? Or is there an easier way to achieve this?
You could register a widget to the sidebar or simply add code the sidebar.php directly. In the end, all you are doing is building a WP Query for the latest post in a category.