The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
13 views

Filter the_content() to add custom figure tags

I'm trying to implment responsive images on my site, and have all the required component parts working, and understand the concepts, but need some help putting them together; Knowing that WordPress ...
0
votes
1answer
15 views

Disable Media File Image Link On Mobile Devices

I'm looking to disable the 'media file' image link on mobile devices, so that when viewing a site on mobile devices we simply have the image being displayed with no link to anything. I am looking to ...
0
votes
2answers
436 views

Removing height and width from images with a caption

I am using WordPress with Twitter Bootstrap 3 and have an issue when it comes to images with captions. Images with captions are given a height and width attribute which stops them from being ...
0
votes
1answer
19 views

A better way to make 75% width for text and 100% for images in post?

I tried to make 75% width of paragraph in .entry-content, and also 100% responsive width of images. However, <img> is always in <p> as default. Currently, I can only make .entry-content ...
0
votes
0answers
14 views

common responsive way to display Tabs in Backend for Plugin Options on mobile devices?

I am writing a plugin, which uses tabs in the backend-view, to have better overview of similar option pages for all days of a week. I am using the nav-tab css class and <h2 ...
1
vote
1answer
408 views

Wordpress core responsive video not working with shortcode

I cannot get the video from Wordpress core to behave responsively. I'm using the following CSS: .videocontent { width: 100%; height: 100%; max-width: 1024px; margin: 0 auto; } ...
0
votes
1answer
21 views

Best method for loading content on mobile - issue with wp_is_mobile

I'm trying to prevent loading of extra site menus on mobile. I'd rather not load them at all as opposed to loading them and hiding them with css. I'm starting with this in my header file: <?php ...
0
votes
1answer
17 views

Responsive Wordpress Gallery

I have been trying to make my Wordpress Gallery responsive with the help from another post: Making WordPress Gallery (.gallery-item) Responsive? I would also like the original 5-column gallery to ...
1
vote
1answer
34 views

How to switch css files according to devices and button click?

I am trying to enqueue a responsive css file if the website is opened on mobile devices. Also I want to switch / enqueue a default or non-responsive css file when a button is clicked. The ...
0
votes
0answers
50 views

Can I make the bootstrap canvas wp theme non responsive

Help!! I am not a web developer but a designer and I understand small amounts of code... I have had someone half develop a website for me and I am wanting to finish it of myself as it was not ...
0
votes
0answers
42 views

modify gallery shortcode to make it responsive

I'm trying to make the default WP gallery responsive. I copied the entire gallery shortcode into my functions file and did the remove_shortcode/add_shortcode. Found this post Making WordPress Gallery ...
1
vote
1answer
42 views

How to set cookies to switch style sheets when a link is clicked and set it till another particular link is clicked?

I have a very old site. Now I want to make it responsive without changing the theme an it's style sheet. Requirements: Can not change the theme. Can not create child theme. By default, the site ...
0
votes
4answers
8k views

All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images

What I'd like to achieve is to have images resize responsively ā€“ and for that I have to set 'width: 100%' ā€“ and at the same time set a maximum width to not have the image as wide as the content. To ...
0
votes
0answers
43 views

Drop down items not displaying on mobile device

I have been reworking a site that has the FlexNav code implemented already. I have added drop down menu items per the menu dashboard in the backend of WP and I can see the new dropdown and select it ...
5
votes
1answer
252 views

Proper usage of wp_is_mobile()?

I have developed responsive theme and I want to submit it the wordpress.org. Before submitting it I want to use wp_is_mobile() in my theme, but according to Function Reference/wp is mobile it is a ...
0
votes
0answers
80 views

how to set as responsive the attachment images in wordpress post

I am using wordpress 4.2.2 on windows 7, testing my website with Wamp server before publishin definitely on a live server on the wwww. SO far so good, but tonite I encountered a problem. I could ...
0
votes
1answer
284 views

Why is this jquery / java script code not working in mobile / in devices?

I have following script in my header.php : <script type="text/javascript"> /* to show back the left side bar back when the LEFT side bar is moved next/below to the center/content */ ...
0
votes
0answers
15 views

Responsive Wordress Site - Serve different post types to each device

I currently run a multisite wordpress website. for example: wwww.domain.com www.domain.com/mobile www.domain.com/tablet With a separate WP install on each sub domain. I would like to optimise ...
0
votes
0answers
98 views

Prevent TinyMCE from stripping html comments?

I'm working on a plugin that adds <picture> element support to a site using picturefill.js to polyfill it in - as part of it I'm allowing the picture element html to exist in the editor content. ...
1
vote
1answer
278 views

Making WordPress Gallery (.gallery-item) Responsive?

Shortcode for Gallery: [gallery link="file" columns="5" size="medium"] Iā€™m using a 5 column gallery on an inner page of a website, obviously when the site responds down to mobile and even tablet ...
0
votes
1answer
50 views

Wp_List_Table not responsive

im using the wp_list_table class on my backend theme, to show some informations that i have saved on database, but there is a lot of informations and i want to make it responsive, show/hide some ...
2
votes
3answers
133 views

Responsive Images

Is there a native function to display the correct responsive image size for post thumbnails or gallery images depending on the screen resolution? Normally I'm using: 1.Custom image sizes: function ...
0
votes
0answers
26 views

Ads below footer

A client of mine has ads on his website, which are managed by a CPT. The ads can be pulled in via a widget, hardcoded query and a shortcode. I have an issue that isn't consistent that I'm trying to ...
0
votes
1answer
34 views

The hyperlink <a> not responsive with post? [closed]

I'm using semplicemente theme .(http://crestaproject.com/demo/semplicemente/). But in my post which have a hyperlink look like <a href="link">conent</a> And when i test it's ...
0
votes
1answer
695 views

Change theme based on window size

I want to send a browser info (window width) to the server via AJAX. The server doesn't need to respond with any data, however, only change the theme based on that window width. This is my attempt: ...
0
votes
0answers
45 views

Menu add items to li for responsive

I am new to wordpress development and am working on understanding 'walkers" and adding on to the navigation. I am working on a theme build out using the 2013 as it seems like a solid responsive theme ...
0
votes
1answer
56 views

Header formatting works for safari but not chrome @media screen size technique on iphone

I was creating a responsive design theme from underscores I was trying to format the header text .css file to make smaller text when it is opened up on an iphone device. I used @media screen and ...
0
votes
1answer
16 views

Create various image sizes ad hoc

Im making my theme responsive and hence would like the images to have various sizes depending on device, resolution etc. Normally i would just add make a add_image_size hook to image upload, however ...
0
votes
0answers
48 views

change the number of posts on the frontpage depending on screen width

My frontpage currently runs a secondary loop at the bottom of the page that shows 4 posts of a certain category. But I would like to reduce these posts to 3 when the screen width goes below 1024px. ...
0
votes
1answer
884 views

Two column layout using Bootstrap [closed]

Can anyone help me with this? <div class="container"> <div class="row"> <div class="col-sm-8"> <div class="row" style="margin-bottom: 30px;"> ...
2
votes
2answers
3k views

How can i disable a plugin for a mobile phone?

Is there a way I can not show something to mobile users? I have a floating social bar on my responsive theme, but it get in the middle of the content if I'm on my Android phone. I don't want to use ...
0
votes
0answers
31 views

How to add large backstretch banners to pages

I would like to have banners that break up my pages, inside these banners I would like to be able to add quotes. Can anyone tell me how best to achieve this? Ideally this isn't me simply adding banner ...
0
votes
1answer
111 views

Removing backstretch image from pages/posts

Homepage has a backstretch image which is also active throughout the site on posts and pages. How can I keep the backstretch on the homepage but hide it on posts or pages? pulled this from the ...
0
votes
1answer
238 views

Different column width in 2 rows with bootstrap and custom post types-different classes needed

I'm using a custom post type on my WP website and also using bootstrap. I want to list 5 custom post type entries on my home page, and I want the first 3 to have class col-md-4 in one row and in the ...
6
votes
2answers
2k views

Responsive Theme Design: how have slideshow on desktops/tablets and static photo on mobile using same template?

I am building my first responsive WP site with my own custom WP Theme. The primary templates are part fluid, part fixed. This enabled me to create only 3 "versions", a desktop, tablet and mobile ...
1
vote
1answer
236 views

How to Implement Responsive YouTube Video Framing? [closed]

I am using the YouTube embed functions to place my video inside my wordpress single post page. I do not want to use oEmbed because it gives me less custimization with hiding the information bar, ...
0
votes
1answer
226 views

Backstretch.js and thumbnail sizes to reduce loading time

I am using backstretch.js to set a featured image as a full size background image (as per this tutorial). I would like to combine this approach with different thumbnail sizes in order to reduce ...
0
votes
0answers
107 views

how do I add a responsive header image to my theme?

Building a super simple theme but would like the header image to be responsive from full size computer browser to small phones. I've looked at twentyfourteen theme and read up on responsive images ...
0
votes
1answer
1k views

Twenty Eleven Theme Adjusts for iPhones. How to stop this feature?

I would like to prevent Twenty Eleven from changing to mobile version when seen on an iPhone. Any way of doing this?
0
votes
0answers
271 views

FitVid not working for iframes on particular theme install

I am using FitVid in my theme and all is well except for a specific site that was migrated from Drupal. FitVid works fine with objects and embeds but not iframes, and only on this particular site. The ...
0
votes
0answers
109 views

Serving resized images on a responsive site without making 2x copies

new here. I'm sure this question has been asked numerous times, but here we go. I'm a blogger (not a coder) and recently started adjusting my responsive site for retina displays by uploading very big ...
-1
votes
1answer
3k views

Responsive scaling of image for the_post_thumbnail() [closed]

In my functions.php file, I have: add_theme_support( 'post-thumbnails' ); add_image_size( 'kev-feature', 650, 342, true ); In a template file, I have: <div ...
0
votes
1answer
110 views

How to force the twentyfourteen narrow screen layout to apply to wide screens?

In gt.owenks.uk uses the twentyfourteen theme. The narrow screen layout uses the full width of the screen for posts and condenses the page menu to an icon: But the wide screen layout uses only the ...
0
votes
1answer
367 views

Why is wp_get_attachment_image_src returning wrong dimensions? [duplicate]

I am using wp_get_attachment_image_src to construct the srcset attribute of an img tag. In that attribute I want to output a comma separated list of image urls along with the image widths. Using the ...
0
votes
0answers
83 views

How to control featured image width in slider and in posts?

To be more specific, im am using WP Twenty Fourteen responsive theme. I use the theme's homepage slider. My main content column is now at max-width:900px;. Two questions ; How to control the size of ...
0
votes
2answers
132 views

Trying to use shortcode for a plugin on custom homepage of Responsive theme

The Responsive theme has a custom home page option, with a feature content div that is defaulted to an image. I cannot get shortcode for my slideshow plugin to work in this. I can insert html just ...
0
votes
2answers
306 views

How to create a non-responsive WordPress Theme Using Genesis Framework?

I am new to coding and I really don't know how to create a non-responsive child theme which runs on the Genesis framework. Besides that, I tried to modify a child theme and it all went well but one ...
0
votes
3answers
587 views

Don't load scripts if on mobile/tablet

Would like to ask the question is it possible to stop the laoding of some scripts when viewed on a mobile/tablet device ? In the theme functions file you have wp_enqueue_script(...). How would you go ...
3
votes
1answer
188 views

Create image formats with different qualities when uploading

I'm trying to come up with a solution where the generated image formats cover both responsive and high-resolution aspects when uploading a new item in the WP admin. I've put together a set of formats ...
0
votes
1answer
170 views

Generate responsive post thumbnails of same size

I am using a function to display related posts in my wordpress theme with their thumbnail. I am using uikit to make my theme responsive. Uikit offers a grid feature similar to the bootstrap one, and ...