almendron
Forum Replies Created
-
Forum: Reviews
In reply to: [Broken Link Checker] Broken and no supportThe plugin works perfectly. With him I manage 145.091 links.
Forum: Plugins
In reply to: [Broken Link Checker] “Fix Redirects” is NOT workingThe storage engine of the tables (blc_filters, blc_links and blc_synch) must be MyIsam; with others storage engines the plugin doesn’t work correctly.
The answer to the two questions is “yes”
Forum: Plugins
In reply to: [Broken Link Checker] Links to YouTube videos: “403 Access Not Configured”Settings > Link Checker > Protocols and APIs> Uncheck “YouTube API”
Forum: Plugins
In reply to: [Advanced Excerpt] The extract shows the videosYou’re right. The plugin works perfectly.
I added a code to my template that interferes with the plugin.<?php global $post; $numcontent = str_word_count($post->post_content); ?> <?php if ( $numcontent > 200 ) : ?> <?php the_excerpt(); ?> <?php else : ?> <?php the_content(); ?> <?php endif; ?>“Total number of words in the post” < “200” => the_content()
Mystery solved 🙂
I apologise for taking your time.
Forum: Plugins
In reply to: [Advanced Excerpt] The extract shows the videosThank you very much!
Forum: Plugins
In reply to: [Advanced Excerpt] The extract shows the videosVersión 4.2.7
This is a special case.
The plugin does not apply the filters and shows the content: Total number of words in the post < Number of words options.
Options:
1) Excerpt Length: 100 words
2) Finish: Sentence
3) Remove shortcodes from the excerpt. (recommended) : activatedTest 1.
En este video, una trabajadora del hogar le pide al Congreso de Estados Unidos que apruebe la primera ley nacional de derechos para los trabajadores del hogar. Aunque existen protecciones laborales para quienes trabajan en fábricas, quienes conducen camiones y quienes dan clases, aún no hay protecciones similares para los trabajadores del hogar. Esta ley resarciría esa omisión. [embed]https://youtu.be/7WVCLO7qPrM[/embed]In this case, the plugin does not apply the filters because “Total number of words in the post” < “100”. The video is shown.
Test 2: Three times the same paragraph.
En este video, una trabajadora del hogar le pide al Congreso de Estados Unidos que apruebe la primera ley nacional de derechos para los trabajadores del hogar. Aunque existen protecciones laborales para quienes trabajan en fábricas, quienes conducen camiones y quienes dan clases, aún no hay protecciones similares para los trabajadores del hogar. Esta ley resarciría esa omisión. [embed]https://youtu.be/7WVCLO7qPrM[/embed] En este video, una trabajadora del hogar le pide al Congreso de Estados Unidos que apruebe la primera ley nacional de derechos para los trabajadores del hogar. Aunque existen protecciones laborales para quienes trabajan en fábricas, quienes conducen camiones y quienes dan clases, aún no hay protecciones similares para los trabajadores del hogar. Esta ley resarciría esa omisión. En este video, una trabajadora del hogar le pide al Congreso de Estados Unidos que apruebe la primera ley nacional de derechos para los trabajadores del hogar. Aunque existen protecciones laborales para quienes trabajan en fábricas, quienes conducen camiones y quienes dan clases, aún no hay protecciones similares para los trabajadores del hogar. Esta ley resarciría esa omisión.In this case, the plugin applies the filters because “Total number of words in the post” > “100”. The plugin works and the video is not shown in the excerpt.
Forum: Reviews
In reply to: [Broken Link Checker] deadTo replicate the error: https://es.wordpress.org/plugins/publicize-with-hashtags/
The plugin is very simple. Only use
_wpas_mess, get_post_meta, update_post_meta and save_postThe plugin works perfectly with WordPress 5.0.2 and Classic Editor.
Please clarify this as well: are you saying the custom message appears after publishing (and in Twitter too) but not on the editor page itself? Thanks in advance.
I mean the editor. Suggestion: add box to share next to the cateories, tags, etc. and not after clicking Publish.
Forum: Themes and Templates
In reply to: [Stargazer] Mobile menu disappearedThe “.screen-reader-text” style in jetpack.css overwrites the rules of the template
Why? How can it be avoided?.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Mobile menu disappearedThe “.screen-reader-text” style in jetpack.css overwrites the rules of the template
Why? How can it be avoided?.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }The postmeta table is updated correctly: see image 1.
However, the values do not appear in the editor: see image 2. The words “Periodismo” y “España” are missing.
It is, therefore, a JetPack problem with the Gutenberg editor.
PS. It is an error that the message appears after clicking “Publish”.
The box “Share this post” should be on the first screen, next to the categories, tags, etc.Reformulate the issue:
1) “_wpas_mess” is a function of JetPack (modules/publicize/publicize.php)
Add a record in the postmeta table where “meta_key” = “_wpas_mess”. Therefore, we can use:<?php update_post_meta( $post_id, $meta_key, $meta_value, $prev_value ); ?>2) WordPress 5.0.2 and Classic Editor:
<?php update_post_meta( $post_id, '_wpas_mess', $meta_value, $prev_value ); ?>It works perfectly
3) The same function with Gutenberg Editor: It does not work.
PS: the mentioned plugin was just an example of the use of “_wpas_mess” and “update_post_meta”. By the way, the plugin works perfectly with WordPress 5.0.2 and Classic Editor.
- This reply was modified 7 years, 5 months ago by almendron.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Mobile menu disappearedCould it be something related to “screen-reader-text” ?
File “primary.php” (theme):
It does not work:
<button class="screen-reader-text"><?php echo hybrid_get_menu_name( 'primary' ); ?></button>It works well
<button><?php echo hybrid_get_menu_name( 'primary' ); ?></button>Is there a conflict between styles? Do Jetpack styles overwrite the theme?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Publicize disappearedEverything seems to work well with the classic editor plugin. Thank you.