mskogly
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Instagram and blocks not workingTried different post types from different users, none works. Embedding youtube using the same block works fine.
Forum: Fixing WordPress
In reply to: Instagram and blocks not workingAnd running latest wp, 5.8
Forum: Plugins
In reply to: [Gutenberg] How do I float an image?Fairly confusing. Would prefer to have the settings for a block on the right hand side as well as in the top bar, for consistency. Vote one for that feature.
As I mention in the beginning, no errors in console.
If I switch to Twenty Seventeen (without touching my plugins), all works fine.
Forum: Plugins
In reply to: [jQuery Colorbox] jQuery Colorbox log messagesUp
Thanks Jeremy. Is there a way to find that id without first doing the urlencode trick to get the json containing the site_ID?
Forum: Developing with WordPress
In reply to: How to retrieve custom fields value with Json WP Rest Api?I had the same problem. By default the json api doesn’t output the customfields, I had to add some lines to functions.php to make it work.
I wrote a blogpost with my solution here:
https://pappmaskin.no/2017/01/jetpack-json-api-outputting-custom-fields/Answer to my own question: Using urlencode
Via
https://wordpress.stackexchange.com/questions/96069/jetpack-api-for-wordpress-network
https://meyerweb.com/eric/tools/dencoder/Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] No custom fields in json?I believe I found a solution here: https://wordpress.stackexchange.com/questions/127091/trying-to-get-custom-post-meta-through-jetpack-json-api
Forum: Plugins
In reply to: [Co-Authors Plus] Link to guest author not workingCoauthors version Versjon 3.1.1
The code looks like this. (Not my implementation, and perhaps outdated?)
$i = new CoAuthorsIterator();
$i->iterate();echo ‘<div class=”byline”>’;
echo ‘ ‘.get_avatar(get_the_author_meta(‘user_email’) , $size = ’40’, $default = ” ).’‘;
echo ‘<p class=”byline author vcard”>’. __(”, ‘reverie’) .’ ‘. get_the_author() .’</p>’;
// echo ‘<p class=”byline author vcard”>’. __(”, ‘reverie’) .’ ‘. get_the_author() .’‘.get_the_author_meta(‘user_email’).'</p>’;
echo ‘</div>’;while($i->iterate()){
echo ‘<div class=”byline”>’;
echo ‘ ‘.get_avatar(get_the_author_meta(‘user_email’) , $size = ’40’, $default = ” ).’‘;
echo ‘<p class=”byline author vcard”>’. __(”, ‘reverie’) .’ ‘. get_the_author() .’</p>’;
// echo ‘<p class=”byline author vcard”>’. __(”, ‘reverie’) .’ ‘. get_the_author() .’‘.get_the_author_meta(‘user_email’).'</p>’;
echo ‘</div>’;}
Forum: Plugins
In reply to: [Instant Articles for WP] pages_manage_instant_articlesAnyone?
Try to use the facebook debug tool, and see what it says.
https://developers.facebook.com/tools/debug/
Give it your url and fix all errors. I found mine my going to the bottom of the debug result page and clicking on “Scraped URL See exactly what our scraper sees for your URL”
For me it was a byte order mark in header.php that threw it off. It could also be other invalid code that causes the meta-data to be moved from head to body (which is what happened on one of my sites).
Read more about Byte order mark on https://www.yiiframework.com/wiki/570/remove-byte-order-mark-bom-from-files-recursively/
Forum: Plugins
In reply to: [Instant Articles for WP] pages_manage_instant_articlesI sent in my facebook app for review asking for access to pages_manage_instant_articles. Got a reply from facebook saying that this is not neccessary, since permissions are only needed if the app interacts with another facebook user. Instant articles is only running for the admin (me), so I obviously didn’t have to send the app in for review at all?
I would love to get some info on the warning I’m getting when clicking the Login with Facebook button.
See this screencast for a better explanation.
https://drive.google.com/file/d/0B2cQntXsQETwa2gxUkhRS2FwX00/viewForum: Plugins
In reply to: [Timeline Express] Youtube videos No Longer displayI did add that code and it works well on strong, img and many other tags, but iframe, embed and audio gets stripped. I also added some more customfields, but the problem is the same there. If I make a regular post and use the built in customfield function in wordpress, the iframe code from youtube goes through fine.
(I’m fiddling with other ways to do this now, by adding just the id of youtube clips and then builing the iframe and audio code in timeline-express-container.php)
(this link may not show timeline express in the future, the post is reused for testing purposes)
https://pappmaskin.no/2014/09/kladdepost-2/