The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
27 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
17 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
1answer
20 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 ...
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
39 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
51 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
43 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
43 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
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
263 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
83 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
300 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
101 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
294 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 ...
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
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
0answers
46 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
49 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
902 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;"> ...
0
votes
0answers
32 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
112 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
241 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 ...
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 ...
1
vote
1answer
240 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
0answers
109 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
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 ...
0
votes
1answer
111 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
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
1answer
374 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
3answers
590 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
189 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
172 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 ...
0
votes
1answer
228 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 ...
1
vote
1answer
144 views

Can't show custom post thumbnail sizes as background images

I'm trying to work out a solution for responsive background images in Wordpress to use on my clients' sites. This is what I got: 1) I created some custom thumbnail sizes: function ...
-1
votes
1answer
60 views

Customizing Responsive Themes Menu [closed]

I use the popular theme: https://wordpress.org/themes/responsive I would like to change the color of one of the menu items and if possible also have a jquery popup from one of the menu items. How can ...
0
votes
1answer
55 views

Server Variables not recognized in certain posts

I've got a very strange issue that I've never seen in WordPress. I've just converted a big site over to a new responsive theme. The site has about 1,400 articles and there are ads on it. The way we ...
0
votes
0answers
127 views

Showing just the menu toggle next to logo in twenty fourteen

For mobile, I want to eliminate the black menu bar, search box/icon and move the menu toggle up so that on mobile, my site just has the logo and the menu toggle. This gives a bit more room for ...
-1
votes
2answers
293 views

Twenty Fourteen responsive CSS

I today install on wordpress new responsive theme ''Twenty Fourteen'', I try to edit css, try to change bg color of header menu, I can't found in css where i change bg color, I before do this a ...
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
1answer
96 views

Bootsrtap.css overlap style.css in custom wordpress theme

On creating a custom theme i faced one problem http://templategraphy.com/wp-demo/landro/ lookwise its not look so good because it not supported style.css By default it shows all its css properties ...
0
votes
1answer
321 views

Disable the admin bar / probleme with responsive menu

I am using a plugin called Disable WP Admin Bar Removal The goal : Disable the admin bar (back and frontend). I really want to disable this bar for the dashboard but if I want to use the ...
-1
votes
2answers
295 views

Change featured thumbnail based on screen size

My theme has the option( like any other theme I guess) to chose a predefined featured image size( thumbnail, medium ...etc). I chose the image to be thumbnail, made it 150x150 in media settings but my ...
0
votes
1answer
39 views

WP Theme Customizer - Responsive Elements

Within WP Theme Customizer, I am wondering if it is possible to allow users to set the size of a thumbnail based on the size of the screen? For example, the user could select (1) for screens above ...
0
votes
0answers
19 views

Responsive framework - edit child js

Is the responsive framework used by WordPress custom to WordPress, or is it a standard design? Where is the js file located that controls behaviour of the grid system used by theme twentytwelve? Is it ...