Hey everyone, here is the first beta of Blocs for Mac V5.2.7.
More fixes and improvements on the way!
Hey everyone, here is the first beta of Blocs for Mac V5.2.7.
More fixes and improvements on the way!
Man, does time fly so fast I didnât see Blocs for Mac V5.2.7 and now we have the 1st Beta.
I just opened this beta, which told me 5.2.6 is now available and did I want to install it. Version 5.2.7 already installed, as shown on the splash screen.
same here.
I have some buttons inside card footers with the interaction set to none, but if they are clicked on the web page scrolls to the top.
Hi @Norm,
Now in v5.2.7b1, now correctly exports the <bric-php-snippet></bric-php-snippet>
to Wordpress theme. as <?php ?>
, when placed within the query loop.
More issues with code being changing on export within a WP Query Loop, when outputting strings from custom-bric.js:
'->'
or '-\>'
or '->'
will result in this: '->'
"'item'=>'value',"
or '\'item\'\=\>;\'value\','
or â'item'=>;'value',â will result in this: 'item'=>'value'
Outside of the WP Loop it exports correctly as: '->'
and '=>'
Also, when the following code is placed in the column of the query loops, this is the result:
<?php ?>
it exports as <bric-php-snippet></bric-php-snippet>
<!--<?php ?>-->
it exports as <!--<bric-php-snippet></bric-php-snippet>-->
I am also filling a bug report.
Thanks @Norm
Norm,
Just over 1 year ago, there was a discussion about getting the Twitter bird icon swapped out for X:
What ever came of that?
FA has never been updated (ver 6 was released in Feb 2022). I did float the idea that adding the actual Bootstrap icons would be a good option. There are tons of them, SVG, and it includes đ. But no reply either.
I use them frequently now.
Iâll check that out.
Yeah, time flies
This icon has been updated and replaced in the social links bric, but the font awesome icon font is indeed out of date. I would advise the use of an svg file which you can add to the Asset Manager.
We do have some improvements coming to the icon system, but they are still a work in progress.
It would be great to get the bootstrap icon library added to blocs.
Hi @Norm,
I have found another issue to be fixed for the next beta, if it all possible:
%isPreview%
, when used in the html of a custom bric and the bric is added within the post query loop, it is exported literally as: %isPreview%.
Additionally, I have lots of Brics ideas to expand the Wordpress capabilities in Blocs Plus, and I think that other developers, like @PeteSharp and @brechtryckaert, would also like to tap on ways to increase the capability of Blocs in this area. One addition (for now, lol) that would really useful:
extra-functions.php
file. This would open lots of doors for Wordpress development, such as creating WP plugins, WP blocks, Query Filters, Meta Fields etc., maybe even conditionals.I would be really grateful, if you could add this new feature to bric development. I have some brics in the queue for that when this feature becomes available, lol.
Thanks again @Norm for all of your efforts to keep improving Blocs.
Ricardo
OK. Iâll just leave the cute little bird icon alone for now.
Nothing political, but something about that âXâ icon isnât very cute. But thatâs probably on me for having lived in the land of cuteness for the last 30 years. Japan embraces it. The US never really has.
FEATURE REQUEST:
Please improve icon searching. I was trying to find the âMagnifying glassâ icon today and I typed âMagâ and âMagnifyâ and all sorts of things, but that icon never appeared. I then Googled âMagnifying Glass FontAwesomeâ and boom! Top of the results! Iâve had this problem with countless icons in the past. They are almost impossible to bring up by keyword search in Blocs, so what I must do is scroll through ALL OF THEM until I find the one I need. Itâs extremely frustrating. My saving grace is that I donât need to search for icons often. If I did, Iâd probably go mad because the search bar really doesnât work well at all. Just mentioning this for when thereâs a Font Awesome (or at least âTwitter iconâ) update in the future.
Hi @Norm,
A bric with this code in the html area:
<div class="remove-on-export display-in-blocs-edit-mode-only text-center" custom-bric-id-target="true" data-meta-key="" data-nopaging="true" data-posts-per-page="5">
<span style="padding: 1px 5px;color:white;background-color: #3896E8;">WP Posts Query</span>
</div>
When placed within a WP post loop column, is not removed on export, see attached:
Hi @Norm,
An update, for the same scenario of the same bric, when placed in a post query loop column. Although it now correctly exports the <bric-php-snippet></bric-php-snippet>
to Wordpress theme. as <?php ?>
, when placed within the query loop. In preview mode the tags remain literal. So in preview the php code within tags <bric-php-snippet></bric-php-snippet>
injected by the custom-bric.js into the html area of the bric is visible, as the tags are unchanged in preview mode.
Also filing a bug report.
What happens when you remove display-in-blocs-edit-mode-only, you shouldnât need both.