mawosch
Forum Replies Created
-
Forum: Plugins
In reply to: [Rel Nofollow Checkbox] Breaks the link modal box in WordPress 4.2Now it is OK. With 1.1.3 it is working. Thanks!
Forum: Plugins
In reply to: [Rel Nofollow Checkbox] Breaks the link modal box in WordPress 4.2Update to 1.1.0 is done. But I cannot link text in my post as soon as I activate “Rel Nofollow Checkbox”.
Forum: Plugins
In reply to: [Prosodia VGW OS] Umzug von anderem PluginBesser sp?t als nie ??
Hat geklappt. Vielen Dank!Forum: Plugins
In reply to: [Responsify WP] No Retina images usedThe site is still under development. It is online but until launch password protected.
I can send you a list of all plugins and the theme name. But it is a premium theme.
We should do that by mail.Forum: Plugins
In reply to: [Responsify WP] Different scrset's for imagesThe problems are not the Umlauts. Removing the “:” is enough.
Forum: Plugins
In reply to: [Responsify WP] Different scrset's for imagesNow I found the problem. :-))
Again something with special characters. I changed the description and alt tags. Removed the German Umlauts “?”, “ü” and the “:” Now it is working.
Thank you very much!!!
Forum: Plugins
In reply to: [Responsify WP] Different scrset's for imagesYes, such a meeting would be cool. But my last visit at Nysocken Stugan is some years ago. And next visit is not scheduled.
The die function gave that message:
array(5) { ["sizes"]=> string(136) "(max-width: 494px) 478px, (max-width: 646px) 630px, (max-width: 767px) 740px,(max-width: 1018px) 478px, (max-width: 1199px) 630px, 740px" ["class"]=> string(23) "size-large wp-image-219" ["alt"]=> string(36) "Zentriert eingefügt. Groesse: Gro?" ["width"]=> string(3) "740" ["height"]=> string(3) "440" }
Forum: Plugins
In reply to: [Responsify WP] Different scrset's for imagesf***k!!
OK but now I deactivated the old one, deleted it and installed the 1.8 beta. Setup page the same as previous.Here is the start of my
functions.php
<?php /* tagDiv - 2014 - Our portofolio: https://themeforest.net/user/tagDiv/portfolio Thanks for using our theme ! */ add_filter( 'rwp_edit_attributes', 'edit_attributes' ); function edit_attributes( $attributes ) { if ( strpos($attributes['class'], 'size-medium') ) { $attributes['sizes'] = '(max-width: 1199px) 250px, 350px'; } return $attributes; } /* -
Result: Same breakpoints as in template.
Forum: Plugins
In reply to: [Responsify WP] Different scrset's for imagesNow I tried it. But without success ??
I inserted the code from #9 into the
functions.php
and adjusted the breakpoints.
In the sourcecode there are still the same breakpoints as I defined in the template file.But there should be the same set of images and a new set of breakpoints? Right?
Forum: Plugins
In reply to: [Responsify WP] Different scrset's for imagesOK, I will put it into the functions.php. With that level of coding I’m not familiar. Sorry for the questions.
What do you mean with
$sizes_attribute_when_class_is_size_medium
? Is that the name of a variable? So I can define the name on my own?And how do I have to write the
insert_breakpoints_here
? Same way as in my example in post #6?Forum: Plugins
In reply to: [Responsify WP] No Retina images usedFor the biggest version might your point be right. But why is there no medium@2x and small@2x file found? This is smaller then original = full@2x.
Forum: Plugins
In reply to: [Responsify WP] No Retina images usedThe size of the uploaded image has exactly retina (@2x) dimension.
Or do you mean the size in kB?Forum: Plugins
In reply to: [Responsify WP] Different scrset's for imagesThis is exactly what it is missing. Define different sets of images based on different image classes.
The class attribute of the image looks like the best selector. I saw you already check that for the
rwp-not-responsive
function.That would be important for handling different images and making the images in the sidebar retina ready.
So where do I have to add that filter in my example?
<?php $posts = get_posts(array( 'rwp_settings' => array( 'sizes' => array('gaf-vollbild-klein', 'gaf-vollbild-mittel', 'gaf-vollbild-klein-ret', 'gaf-vollbild-mittel-ret'), 'retina' => true, 'attributes' => array( 'sizes' => '(max-width: 494px) 478px, (max-width: 646px) 630px, (max-width: 767px) 740px,(max-width: 1018px) 478px, (max-width: 1199px) 630px, 740px' ) ) )); ?>
My logic looks like:
IF class=size-medium THEN scrset A
(scrset A contains images with name size-a, size-b and has breakpoints 1, 2 and 3)
IF class=size-large THEN scrset B
(scrset B contains images with name size-v, size-w and has breakpoints 5, 6 and 7)You understand?
Forum: Plugins
In reply to: [Responsify WP] Different scrset's for imagesI think it was a bit misunderstanding.
I use the rwp_settings for size attributes in the theme template like here: https://github.com/stefanledin/responsify-wp#sizes-attribute
Now I would like to use one rwp_settings for sizes and breakpoints when I insert a large image and a second rwp_settings for sizes and breakpoints for medium images.
Is that possible?
Forum: Plugins
In reply to: [Responsify WP] No Retina images usedNow I tried it again.
I gave the images new names.
“gaf-vollbild-mittel@2x” got to “gaf-vollbild-mittel-ret” now it is working. Six image url’s are in the srcset.Perhaps you can have a look at the code if there is a problem with @-sign or numbers.
Thanks for the great plugin!