iworks / og Goto Github PK
View Code? Open in Web Editor NEWOG — Better Share on Social Media
License: GNU General Public License v2.0
OG — Better Share on Social Media
License: GNU General Public License v2.0
just for inspiration – i dont have a mac but i think it should work out of the box with your addon..perhaps someone can share infos..
Web Apps on macOS Sonoma 14 Beta (tomayac.com)
What’s new in web apps – WWDC23 – Videos – Apple Developer
News from WWDC23: WebKit Features in Safari 17 beta | WebKit
regardings ios different browser: as far as i get it pwa can now be installed also from edge oder chrome
Web Push for Web Apps on iOS and iPadOS | WebKit
-> Third-party browser support for Add to Home Screen
Hello,
The plugin is excellent. Could you consider adding a filter for the “image” meta name instead of hard-coding it?
og/includes/iworks/class-iworks-opengraph.php
Line 802 in ec9cdbf
It would be great if it had a filter, perhaps something like this
$image_field = apply_filters( 'og_term_thumbnail_meta', 'image', $obj );
$image_id = intval( get_term_meta( $obj->term_id, $image_field, true ) );
Thanks.
Source: https://wordpress.org/support/topic/adding-a-filter-for-image-meta-name/
Hi,
not really an issue, but could you please add a filter to disable the "Produce image extra tags" part of your code?
not really useful for my use case and is not triggered all the time, only on some pages. Then on certain refresh it works, in some it does not. I tried setting a longer transient exp, but it does not fixes the problem and a constant output is desirable.
Thanks in advance
The message says that I need to update my PHP version in order to update the OG plugin. Developer says it requires at least PHP 8.0. Directions send us to the PHP compatibility check that only works up to PHP 7.4. I am currently running PHP 7.4, with WP version 6.4.1
Does this plugin really require PHP 8.0?
Is there a PHP compatibility checker for WP that goes to 8.0 or higher?
Is there a solution other than to update to OG 3.2.5?
I get structured data validation errors for the following meta tag added by the OG plugin:
<meta itemprop="tagline" content="My blogs description.">
I researched this & didn't find any reference / support of this itemprop. Should probably be removed / surpressed, I guess?
https://wordpress.org/support/topic/transient-name-sent-has-boolean-instead-of-string/
Hi !
I recently switched from PHP 7.4 to 8.0 and saw that I had white screen errors sometimes (just need to refresh and it works usually).
I thought it was Query Monitor plugins, but according to the traceroute, it seems that it is OG which seems to sometimes send transient name as boolean.
The bug only appears when WP_DEBUG, and associated LOG variables are true in wp-config
https://wordpress.org/support/topic/php-8-0-compatibility-37/#post-17214638
Fatal error: Uncaught Error: str_replace(): Argument #3 ($subject) must be of type array|string, bool given
in /wp-content/plugins/query-monitor/collectors/transients.php on line 84
Call stack:
str_replace()
wp-content/plugins/query-monitor/collectors/transients.php:84
QM_Collector_Transients::setted_transient()
wp-content/plugins/query-monitor/collectors/transients.php:59
QM_Collector_Transients::action_setted_blog_transient()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-includes/option.php:1360
set_transient()
wp-content/plugins/og/includes/iworks/class-iworks-opengraph.php:769
iWorks_OpenGraph::wp_head()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-includes/general-template.php:3052
wp_head()
wp-content/themes/highwind-child/header.php:43
require_once()
wp-includes/template.php:790
load_template()
wp-includes/template.php:725
locate_template()
wp-includes/general-template.php:48
get_header()
wp-content/themes/highwind-child/single.php:10
include()
wp-includes/template-loader.php:106
require_once()
wp-blog-header.php:19
require()
working on both brothers since severel months mobile and desktop – improving install experience after the prompt
more infos here:
Richer PWA installation UI – Chrome Developers
Richer UI install available for desktop – Chrome Developers
For example developers can use the description field to highlight the app’s features that incentivize the user to keep it in their devices. With the screenshots they can present the look and feel of the web app as a standalone, with all the easy access that platform apps have.
perhaps interesting for implementing – for inspiration take a look at superpwa
warm greetings 😉
The OG plugin inserts the following Meta tag with itemprop reference author
to the <head>
, but this is invalid – it is even not allowed with something else than a CreativeWork
or Book(Series)
:
<meta itemprop="author" content="Oliver">
Rather, a JSON-LD markup for Person
would be the right way to insert this (as Microdata markup within the page's structure might be too complicated).
→ Refer to the specs here or use this handy online Person Markup-builder (although this has also some invalid markup, like worksFor
).
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Person",
"name": "Oliver Atgithub",
"jobTitle": "WP User Role?",
"sameAs": [
"https://twitter.com/twittername",
"https://linkedin.com/linkedinuser",
"https://personalwebsite.com/"
]
}
</script>
Hi.
I get a lot of these warnings in the log:
2024-02-06 13:24:59.340170 [NOTICE] [1428029] [T0] [xxx.xxx.xxx.xx:44528:HTTP2-9#APVH] [STDERR] PHP Warning: Undefined array key "en-eu" in /home/domains/mydomain.com/public_html/wp-content/plugins/og/includes/iworks/opengraph/integrations/class-iworks-opengraph-integrations-sitepress-multilingual-cms.php on line 51
“en-eu” is one of language codes in WPML for my setup, don’t really know why it is only warning for this, as I use 3 languages, “sv”, “en” and “en-eu”. The last two is both English, but due to my setup were I run one language only for EU-customers, they are separated as this. It is a feature in WPML to use same language with custom language codes.
Would appreciate if you could fix this 🙂 Thanks for a great plugin.
The page I need help with: https://www.armsportstore.eu/
Source: https://wordpress.org/support/topic/wpml-og/
i’ve seen there are some new features
so are all apple devices supported cause you have only to upload a few pictures? are the other ones auto generated?
see here for all: PWA Icons & iOS Splash Screens Generator | Progressier
thanks for your feedback
https://wordpress.org/support/topic/deprecated-function-with-php-8-2-8-3/
Hello,
I shall let you know that current version of your plugin uses at least one deprecated function in PHP 8.2 and 8.3.
Visiting plugins page (/wp-admin/plugins.php) with WP Query Monitor extension enabled, shows the following error:
Deprecated Message:
ltrim(): Passing null to parameter #1 ($string) of type string is deprecated
Location: wp-includes/formatting.php:4494 ltrim() wp-includes/formatting.php:4494esc_url()
wp-content/plugins/og/includes/iworks/rate/rate.php:119
iworks_rate->add_donate_link()
wp-includes/class-wp-hook.php:324
apply_filters('plugin_action_links_og/og.php')
wp-admin/includes/class-wp-plugins-list-table.php:985
WP_Plugins_List_Table->single_row()
wp-admin/includes/class-wp-plugins-list-table.php:706
WP_Plugins_List_Table->display_rows()
wp-admin/includes/class-wp-list-table.php:1709
WP_List_Table->display_rows_or_placeholder()
wp-admin/includes/class-wp-list-table.php:1636
WP_List_Table->display()
wp-admin/plugins.php:796
In order to avoid getting such error, and to prepare for future PHP versions, it would be a great thing to adapt the code in order to fit newer PHP versions.
Best regards
I have this awesome plugin running on https://www.sankala.co.uk/
But when I pass the page through the W3C validator it throws an error below:
then you can select also a splash screen icon (512x512px)
monochrome icon is > android13 (theme support) (-> i assume but dont know exactly)
anyway, nice addon 😉
warm greetings
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.