Łukasz
Forum Replies Created
-
It looks like temporary solution is commented line #776 in class.jetpack-gutenberg.php file. Is it correct?
//$initial_state['social']['featureFlags'] = $social_initial_state['featureFlags'];Hi @muffinpeace ,
thank you for your message. I’ve just send you request via Jetpack Contact Support form. Thx!Hi Thank you!
I have just installed Health Check, and switched on Twenty Twenty-Two theme with only Jetpack plugin enabled. And there is still problem with image in embeded content when Lazy image option is enable 🙁 So I think it isn’t problem with my theme and plugin conflict?Have you got any ideas what to check more?
thx in advance.+ there is also all Site speed accelerator option enabled in Jetpack plugin
Thank you @bizanimesh ! I thought so too, but I decided to let you know.
- This reply was modified 4 years, 11 months ago by Łukasz.
Forum: Plugins
In reply to: [AMP] Incorrect time/dateOK thx with
current_time( 'timestamp', true )is ok too
Thx @westonruter so much for your quick help!!!<?php /** * Post date template part. * * @package AMP */ ?> <div class="amp-wp-meta amp-wp-posted-on"> <time datetime="<?php echo esc_attr( gmdate( 'c', $this->get( 'post_publish_timestamp' ) ) ); ?>"> <?php echo esc_html( sprintf( /* translators: %s: the human-readable time difference. */ __( '%s ago', 'amp' ), human_time_diff( $this->get( 'post_publish_timestamp' ), current_time( 'timestamp', true ) ) ) ); ?> </time> </div>Forum: Plugins
In reply to: [AMP] Incorrect time/dateOK thx
When I replacecurrent_time( 'timestamp' )withcurrent_time( 'timestamp', true ).
there isParse error
: syntax error, unexpected ‘;’, expecting ‘)’ in
/wp-content/themes/leaf/amp/meta-time.php
on line
18W witrynie wystąpił błąd krytyczny.
Forum: Plugins
In reply to: [AMP] Incorrect time/dateThank you! I’ve got translated meta-time.php in my theme folder – should I chanege every copied files from new update?
Forum: Plugins
In reply to: [AMP] Incorrect time/dateWith this code is OK:
`<time datetime=”<?php echo esc_attr( gmdate( ‘c’, $this->get( ‘post_publish_timestamp’ ) ) ); ?>”>
<?php
echo esc_html(
sprintf(
/* translators: %s: the human-readable time difference. */
__( ‘%s temu’, ‘amp’ ),
human_time_diff( $this->get( ‘post_publish_timestamp’ ), time() )
)
);
?>
</time>`I’ve deleted timestamp from this:
current_time( 'timestamp' )and time is Ok now- This reply was modified 5 years, 8 months ago by Łukasz.
Forum: Plugins
In reply to: [AMP] Incorrect time/dateOK I’ve changed code because I’ve got old code in wp-content/theme/my-theme/amp
Should I change my amp files in theme catalogue after every update?
Forum: Plugins
In reply to: [AMP] Incorrect time/date<time datetime="<?php echo esc_attr( date( 'c', $this->get( 'post_publish_timestamp' ) ) ); ?>"> <?php echo esc_html( sprintf( /* translators: %s: the human-readable time difference. */ __( '%s temu', 'amp' ), human_time_diff( $this->get( 'post_publish_timestamp' ), current_time( 'timestamp' ) ) ) ); ?> </time>- This reply was modified 5 years, 8 months ago by Łukasz.
Forum: Plugins
In reply to: [AMP] Incorrect time/dateShould I check/do something or do you fix it in the future? Thx!
Forum: Plugins
In reply to: [AMP] How to disable „AMP Validated URLs” Reports in Reader Mode?of course – done! ⭐️⭐️⭐️⭐️⭐️
Forum: Plugins
In reply to: [AMP] How to disable „AMP Validated URLs” Reports in Reader Mode?@jamesosborne Thank you! Everything is explained in @westonruter’s sticky post! I’ve just turn off dev Tools AMP in my profile settings!
Thank you so much for your support and wonderful plugin! You are the best guys!
- This reply was modified 5 years, 9 months ago by Łukasz.
Forum: Plugins
In reply to: [AMP] AMP 2.0 – „Exit reader mode”@westonruter Thank you so much for your help! It’s OK now!
Forum: Plugins
In reply to: [AMP] AMP 2.0 – „Exit reader mode”But footer is too far 🙂 User have to scroll dawn to go on mobile version…
Maybe we could self modify code to add one line of code? But when I added this:
$customizer_settings = AMP_Customizer_Settings::get_settings();
if ( ! empty( $customizer_settings[‘display_exit_link’] ) ) {
$data[‘post_canonical_link_url’] = get_permalink( $this->ID );
$data[‘post_canonical_link_text’] = __( ‘Exit Reader Mode’, ‘amp’ );
}It doesn’t work…