Posts by SyamilMJ

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says

Is it possible to make BP themes as a stand-alone or an add-on to an already available theme? Sometimes customers might want just the core WP theme without the additional theme for BP. This will save some headaches especially if we do not want to mess with a lot of options.

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says

You are welcome guys! :)

I just added this simple backup/restore option. I played around with XML export/import before but it seems to make things just way too complicated for the users.

This is what I came up with in the end.

Any thoughts?

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says
SplitV said
sy4mil said
SplitV said
Each theme is coded in a different way, so there could never be a plugin to make every theme responsive. This is not a wordpress limitation, but the nature of what responsive design is. I’m sure there are plugins to replace your active theme with a mobile theme.
I agree. But I wasn’t looking for a plugin. :)

Sorry, I mis-spoke, I meant to say that a ‘function’ could never exist to automatically make a theme responsive.

The ‘content size’ is determined by the theme, not by WP or the browser.

That was not my question either, I know very well there is nothing inside WP that auto-magically do anything including making a coffee or a sandwich. Do I sound like I believe in fairies? :P

I was asking whether or not WP has anything that detects browser size, so that the content can be served differently for each set of sizes, which then would allow you to save users from loading heavier content that was meant for desktop viewers when in fact you’re just hiding them with display:none when viewed from a smaller screen/mobile, or use something like img { max-width:50% }.

If that is not an option, then how about if we use javascript to check the screen size prior to loading the content, then use wp_ajax to load the heavier content specific to that screen size? Has anyone tried it that way or is that generally a bad idea?

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says
SplitV said
sy4mil said
SplitV said
Each theme is coded in a different way, so there could never be a plugin to make every theme responsive. This is not a wordpress limitation, but the nature of what responsive design is. I’m sure there are plugins to replace your active theme with a mobile theme.
I agree. But I wasn’t looking for a plugin. :)

Sorry, I mis-spoke, I meant to say that a ‘function’ could never exist to automatically make a theme responsive.

The ‘content size’ is determined by the theme, not by WP or the browser.

That was not my question either, I know very well there is nothing inside WP that auto-magically do anything including making a coffee or a sandwich. Do I sound like I believe in fairies? :P

I was asking whether or not WP has anything that detects browser size, so that the content can be served differently for each set of sizes, which then would allow you to save users from loading heavier content that was meant for desktop viewers when in fact you’re just hiding them with display:none when viewed from a smaller screen/mobile, or use something like img { max-width:50% }.

If that is not an option, then how about if we use javascript to check the screen size prior to loading the content, then use wp_ajax to load the heavier content specific to that screen size? Has anyone tried it that way or is that generally a bad idea?

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says
SplitV said
Each theme is coded in a different way, so there could never be a plugin to make every theme responsive. This is not a wordpress limitation, but the nature of what responsive design is. I’m sure there are plugins to replace your active theme with a mobile theme.

I agree. But I wasn’t looking for a plugin. :)

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says
ParkerAndKent said
sy4mil said
Is there any native function inside WordPress that accommodates for responsive design? So far I’m finding the media queries a little inefficient since the content size loaded by the browser will be the same regardless of the screen size.

Responsive design are nothing more than adaptive css styles, nothing to do with the WP core.

Parker

Wouldn’t the difference between browsers a matter of css styling as well? Thus we have the browser detection function residing inside WP core http://www.nathanrice.net/blog/browser-detection-and-the-body_class-function/

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says

Is there any native function inside WordPress that accommodates for responsive design?

So far I’m finding the media queries a little inefficient since the content size loaded by the browser will be the same regardless of the screen size.

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says

Awesome stuff Ivor. Thanks!

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says

Is there any native function inside WordPress that accommodates for responsive design?

So far I’m finding the media queries a little inefficient since the content size loaded by the browser will be the same regardless of the screen size.

308 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
SyamilMJ says

Hello folks! I’ve got a little documentation written for this. It’s not much, but should be enough to get you up and running in no time! :)

Documentation

p/s: I think I need to brush up my skills on writing a good, proper documentation. Any pointers?

by
by
by
by
by
by