itspetrus
Forum Replies Created
-
I found a solution myself. Perhaps not the most pretty one. Edit the code in display-posts-shortcode.php and add a line-break like this on line 607 (currently):
$title . '<br>' . $date
Nobody? Anybody some idea about how to get this done? Or is it just not possible?
Hi,
In the meantime I suddenly realized that there is a previously used plugin “Remove Dashboard Access” which is the culprit. Working like a charm now.
Best regards,
Peter.Hi,
I guess you are right. Strange, because I tried to disable all plugins and the error was still there. Now that I disable the WP Super Cache plugin only, the error indeed disappears. I suppose that’s not something you can do anything about? Thanks anyway for your help!
Best regards,
Peter.Hi,
Okay, hopefully I did it the right way. You could check out https://pastebin.com/twH3JVkg.
It’s the error output on my (not public available) testsite. The same output I get on the real site as well.
Best regards,
Peter.- This reply was modified 1 year, 5 months ago by itspetrus. Reason: Textual correction
Forum: Plugins
In reply to: [WP Last Modified Info] Change fontsize of shortcode [lmt-post-modified-info]Hi,
No, I never got any more replies.
Best regards,
Peter.Hi,
Right after activating the WP Debugging plugin I got some errors. Those errors contain full paths. Doesn’t seem to be smart to dump it al here, right? Is there another way?
Excerpt:
Warning: file_exists(): open_basedir restriction in effect. (one)
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in (many)Besides that, with WP Debugging active, I cannot use the “save settings button” of LMM anymore.
Best regards,
Peter.That would be version 7.4.33. It should be updated right? So, I did. I selected version 8.1.18 in my hostpanel. Waited some while, refreshed, but I do still get the error …
Forum: Plugins
In reply to: [WP Last Modified Info] Change fontsize of shortcode [lmt-post-modified-info]Hi,
I guess I found my own answer … in case somebody else is looking for the same.
<div style="font-size:80%;">[lmt-post-modified-info]</div>
Best regards,
Peter.Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Space between file-blocksI noticed before that the fontsize of linked files based on the block-file is rather small. To correct that I added to the custom CSS:
.wp-block-file a.wp-block-file__button {font-size: 1em;}
Perhaps it helps somebody else. Thanks again!
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Space between file-blocksYes, that does the trick! I lowered it to 5px. It’s looking good now. Thank you very much! I even start to understand what I’m doing. ??
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Space between file-blocksHi,
Thanks for your help. It’s not working right away but we are getting closer. You can find an example via https://tst.afdeling8gou.nl/nieuws/dit-is-een-test/ (It’s my testsite, password protected against search engines, no big deal, password = bl0ck).
I noticed that when I remove “margin-bottom: 1.5 em” from “.wp-block-file” using the browser inspector, the extra whitespace indeed disappears. I just don’t know enough about css to understand where I have to set such permanent. Perhaps this leads you to the final solution?
Thanks in advance!
- This reply was modified 1 year, 8 months ago by itspetrus.
Forum: Everything else WordPress
In reply to: File blocks since WP 6.1 altered to simple appearanceHi,
I just wanted to add that I’m very happy finding your solution. I’m using the Astra theme and was facing the same issue with the small font-size while using the wp-block-file functionality to add attachments to a post. So, thank you very much. I also changed 1.25em to 1.0em.
Best regards,
Peter.Forum: Plugins
In reply to: [Hide Admin Bar Based on User Roles] You are one step away activation errorAlso version 6.1.1.
Forum: Plugins
In reply to: [Hide Admin Bar Based on User Roles] You are one step away activation errorHi,
I was just trying different plugins and I switched to “Admin Bar & Dashboard Control”. Does everything I need.
Best regards,
Peter.