jarekjanuszewski
Forum Replies Created
-
OK, thanks. Yeap, I think I know the rules ??
Thank you anyway and waiting for the feature.Dear Support,
thanks for the feedback. Finally I discovered the script is right, but I was wrong being sure the editor id is correct.It turns out the WordPress handles ids differently than TinyMce API. WP id of my editor is custom_product_howto_field while in the TinyMce API it’s custom_howto_tab.
I have debug it by checking all TinyMce editors ids with this script.
I also should mention original credits of the script which goes to this gentleman.
Anyway, once again thanks for your support. Topic resolved. Cheers!
Hi. Thanks for quick response. Digging into link provided I have found and customised some js. However, after proper enqueuing below script, I can’t get it working.
$( document ).ready( function() { var descFields = { 'custom_product_howto_field' : 'editor', } class rankMathCompatible { constructor() { wp.hooks.addFilter( 'rank_math_content', 'rank-math', this.analyze_description ); this.events(); } //Handle content change events. events() { jQuery.each( descFields, function( key, type ) { $( '#' + key ).on( 'change', function() { rankMathAPI.refreshContent(); }); }); } // Description filter callback. analyze_description( content ) { jQuery.each( descFields, function( key, type ) { content += '\n' + $( '#' + key ).val(); }); return content; } } new rankMathCompatible(); });
ID of the metabox is also confirmed. What am I doing wrong?
Perfect, thanks!
Hi, sorry for some delay. Busy time. Instead of adding a filter I have added ‘show_in_rest’ to my custom post args declaration and it worked as the simpliest way.
Thank you for great support and clarification.
Hi, thanks for response. Password protected galleries works fine.
The page on which the galleries are displayed (Sunshine page) should be secured by the default WP page password protection. But it is not as you can see the content instead of password form ??
That is the issue.
- This reply was modified 6 years, 4 months ago by jarekjanuszewski.
Forum: Plugins
In reply to: [WP Simple SEO] Crash after 482 updatePerfect, thanks.
Forum: Plugins
In reply to: [Posts in Page] Multiple post types – blank output (pip-not-found)No one, really?
I have recreated the environment on accesible server so can give access on demand.
Error is replicable with any theme on 4.8. Tried various custom post type options, no success. Am I missing something here?
Forum: Plugins
In reply to: [WP Simple SEO] Doubled site titleThanks for your input, but suggested solution did not work, and to be honest, no idea why. It led me however to proceed an investigation and I have found the fix.
In the theme’s function.php go to line 263, where is the variable assignment:
$title .= get_bloginfo('name');
You may notice here
.=
concatenating assignment operator, which appends site name to the $title variable. Just comment that line and that’s all, problem is gone.Now you can use WP Simple SEO along with the Expositio theme with no issues ??
Cheers,Forum: Plugins
In reply to: [WP Simple SEO] Doubled site titleThanks. Well, it is a solution but when I use a separator, there is no space after it:
post title |page title instead of: post title | page title
Added spaces seems to be ignored ??
Forum: Plugins
In reply to: [AGP Font Awesome Collection] Unclosed tagsWell, I have changed layout of the elements using default footer widget areas and problem is solved. This forces me to do some css edits but since site validates with no errors it’s fine.
BTW, W3C validator displays warnings related to your plugin:
—
Warning: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.From line 911, column 9; to line 911, column 75
>? <section id=”fac_promotion-12″ class=”widget widget_fac_promotion”>
—Thanks again, cheers!
Forum: Plugins
In reply to: [AGP Font Awesome Collection] Unclosed tagsYeap I can see it on your example. You did help, thank you.
Forum: Plugins
In reply to: [AGP Font Awesome Collection] Unclosed tagsHi, I’ve just made an update to the 3.2.3 version. Nothing changed, errors are in place.
Forum: Plugins
In reply to: [AGP Font Awesome Collection] Unclosed tagsHold hold hold. Disabling autoformat does not solve it. It changes nothing, please note there are some a tags unopened.
Forum: Plugins
In reply to: [AGP Font Awesome Collection] Unclosed tagsOf course, don’t know how but I forget about it. Thank you!