capitalismclown
Forum Replies Created
-
Yes, that did it, thank you! (i.e. using the shortcode not the block editor layout)
- This reply was modified 9 months ago by capitalismclown.
Forum: Themes and Templates
In reply to: [GeneratePress] Pagespeed always returns medium-large imagei see well that makes sense.
either way your filter does a good job. I’ll keep that handy. Obviously at larger sizes I can adjust the slot size as needed. I do understand the code, how it works with src set and page speed insights in the real world is another thing entirely.
on other site builds in fact I don’t use the sizes parameter and set custom image sizes instead and use those, setting each one for specific widths as the default wordpress is so out of touch with reality. This build is a bit too simple for such work, however, so this solution is perfect, thanks again.
j
Forum: Themes and Templates
In reply to: [GeneratePress] Pagespeed always returns medium-large imageHI, this seems to have worked, thank you!
I do understand about retina screens, but I have been following google’s own guidelines on this. I guess it is somehwat misleading then? or is my information out of date? I usually test at 480px wide for mobile (or smaller). realistically then, I should be testing the page at arouns 800px wide?
there are a lot of conflicting answers about this. its hard to know exactly what I should set to satisfy pagespeed / core web vitals, if im having to alter the SRC set each time to be half of what it actually is. madness really.
Forum: Themes and Templates
In reply to: [GeneratePress] Pagespeed always returns medium-large imagehi,
no, if you look at the page speed report it is the logo in the hero section, and the two images below that.
they are definitely set to medium and render as medium in all browsers I’ve tested.
but page speed / lighthouse always shows the warning to properly size images, which it’s saying is the medium large size. I’m lost!
j
Hey, I am seeeing the same thing.
Can I please get this code snippet as well?
Thanks
JForum: Plugins
In reply to: [WP Show Posts] feature request: Show shortcodes on list pageits good- but I would have made the image selection a dropdown, since these are the wordpress presets. but also note that not all themes generate medium_large and large. generatepress is just thumbnail, medium, full
also it would help if there is some control over the image margins.
J
Forum: Plugins
In reply to: [WP Show Posts] feature request: Show shortcodes on list pageCool thanks. I’ll give this a test drive. Love the plugin saves me writing out WP queries and gives the customer some control.
J
Forum: Plugins
In reply to: [WP Show Posts] feature request: Show shortcodes on list pageHi
I have in fact done this myself, just added this code to the post-type file at the end. works great.
add_filter( 'manage_posts_columns', 'revealid_add_id_column', 5 ); add_action( 'manage_posts_custom_column', 'revealid_id_column_content', 5, 2 ); function revealid_add_id_column( $columns ) { $columns['revealid_id'] = 'Shortcode'; return $columns; } function revealid_id_column_content( $column, $id ) { if( 'revealid_id' == $column ) { echo '[wp_show_posts id="' . $id . '"]'; } }Forum: Plugins
In reply to: [Loading Page with Loading Screen] problem with minificationthanks that worked great. all sorted.
on a different note, I have hit a bit of a wall with a plugin im building. I could use some help.
it is working as integrated into wordpress, however it is the javascript that is causing a problem, the core of the thing needs to be re written, but I didnt write it. been released as a freebie stand alone and I want to convert to a plugin in full and it would be of interest to people im certain.
can you help me out with this? can i contact you directly somehow?
you seem to have a proper handle on plugin development and deployment so i thought id ask
thanks
J
Forum: Plugins
In reply to: [Loading Page with Loading Screen] possible click to close?hi
yes that would also be good. I was in fact able to do this with some simple javascript, im a bit rusty on that (clearly!).
the reason i need this is to force the user to interact with the document, preventing the newer browser from blocking media (video and audio playback) set to automatic. its a real pain to work around.
J
Forum: Plugins
In reply to: [WP Responsive Menu] Submenu Items opened by default (broken)right i also tried removing the PHP calls to the superfish menu in the theme header, as well as the entries in the .js files, and the conflict is still there. any further ideas how i can solve this?
Forum: Plugins
In reply to: [WP Responsive Menu] Submenu Items opened by default (broken)hi – the update did not fix the issue.
yes i had the same thought, its just set to display: none; is not ideal is it…
i have already tried removing the javascript for superfish and it had no effect. is this also a conflict with the css? what particular part of the superfish code do you think is causing the conflict?
J
Forum: Plugins
In reply to: [WP Responsive Menu] Submenu Items opened by default (broken)thanks, sent you an email π
J
Forum: Plugins
In reply to: [Strong Testimonials] display date / time of submissionhi, thanks for that i will see what i can do, i know the wordpress timestamp stuff, its quite easy really.
yes go ahead and send and i will see what i can do.
one thing i might suggest is some better styling, CSS is my forte really, also have you considered using bootstrap to keep these responsive?
J
Forum: Themes and Templates
In reply to: [Custom Community] Blog posts appear twicefollow up to this.
i tried installing the theme on another site that i manage and the same problem happened on live preview. this is a serious flaw in the loop structure. whoever wrote that needs to look carefully at how to avoid the duplicate posting of things. i will not be using this theme.