hagbard23
Forum Replies Created
-
Hi Frank,
thanks for the hint – but this seems too complicated for me as a non-dev.
I’ll keep the option off for now.
Best regards
WernerHi Kenneth,
thanks for looking into this matter. I tried your solution and the layout of the WPForm is actually better. BUT – it looks like Autoptimize still changes the font-size of the form. I made you three screenshots so that you can see what happens:
(1) Original WPForm / Option to aggregate inline CSS turned off:
https://www.mediafire.com/view/f1eg88o9cdlaf9e/1._Original.jpg/file(2) Option to aggregate inline CSS turned on / no files excluded:
https://www.mediafire.com/view/j88qoioyroi3u1y/2._inline_CSS_01.jpg/file(3) Option to aggregate inline CSS turned on / files excluded as you recommended:
https://www.mediafire.com/view/qji8jwd1a5vells/3._inline_CSS_02.jpg/fileAs you can see, there is still some interference from Autoptimize in my WPForm. So I’ll kepp the option off for now.
Thanks again and best regards
WernerForum: Plugins
In reply to: [Enable Media Replace] Replacement doesn’t work anymoreThanks Gerard,
I’m on the latest version – and I just contacted your staff on the link you gave me. Thanks for this.
Best
HagbardForum: Plugins
In reply to: [EU DSGVO Helper] Cannot activateHi Eric,
thanks for your quick reply. Your update did the trick. Now I can activate your plugin. But now I have problems with the video preview. The plugin shows only a preview of embedded Youtube videos as it should – but I’m working with columns from WPBakery Page Builder. So my Youtube video is in a column and should fit only half the page, but the preview that your plugin provides is full screen over both columns and kills my layout. You want a screenshot of that?
Best from Berlin
WernerForum: Fixing WordPress
In reply to: Exclude category from certain pageYes, the correct page number of the “Projects” page is 22479. 544 ist the page number of the “News” Page. But neither page number I put in the code – nothing happens…
Forum: Fixing WordPress
In reply to: Exclude category from certain pageHi Steve,
thanks for the correction. WordPress finally took the code – only my “News” are still on the projects site.
Double checked the page number (22479) and the category ID (216).
Where could my problem be?
Forum: Fixing WordPress
In reply to: Exclude category from certain pageThanks Steve, that was quick. Now I built this code:
function exclude_category( $query ) {
if (is_page( $page = ‘544‘ ) ) {
$query->set( ‘cat’, ‘-216’ );
}
}
add_action( ‘pre_get_posts’, ‘exclude_category’ );But when uploading it to my functions.php file, I get this error:
syntax error, unexpected ‘cat’ (T_STRING), expecting ‘,’ or ‘)’It’s great to have the Opt-out feature. Problem is – in my blog I only can read the last line of it and not the whole message. How can I fix this?