Debashish
Forum Replies Created
-
Forum: Plugins
In reply to: [Essential Content Types] Clash with custom post typesThe solution will be to handle null like as follows:
return $type[ $post_type ] ?? null;
Forum: Plugins
In reply to: [Seriously Simple Podcasting] /podcast or /series pages do not show archivesHi Kelly, thanks for the reply.
Funnily mysite.com/podcast seems to work now, but the mysite.com/series doesn’t. I indeed have “Post” selected under “Podcasting > Settings > General”. I will try to create archive page for “series” as well.
Does the change of “series” to “podcasts” impact existing installations? Do I need to re-install the plugin, seems this will impact all my podcast links?
Forum: Plugins
In reply to: [Podcast Player - Your Podcasting Companion] HTML getting distortedSpot on. The “Lazy Loading” feature of Jetpack was the culprit, I must have enabled it some time ?? thanks for the quick resolution.
Forum: Themes and Templates
In reply to: [MH Biosphere] How to avoid thumbnail creationAgree Harish. Sadly I do not fully understand WordPress thumbnail creation & usage logic, and am not so good in CSS too. I was basically annoyed with too many image versions created by themes as well as plugins and the mindless cropping of image. I could achieve stopping them via the Disable Media Sizes plugin. I found another plugin Crop Thumbnails that helps crop the image properly, there is manual effort involved but at least I would know that the cropped thumbnail is good. But do not know how I could tell the WordPress theme to use the smaller thumbnail for example at the bottom Nav (Next Previous posts). No idea how WordPress choses which image to show.
- This reply was modified 4 years, 1 month ago by Debashish.
Forum: Themes and Templates
In reply to: [MH Biosphere] How to avoid thumbnail creationPlease ignore. I was able to solve it by adding image width & height on the same CSS sent by you. Thanks again for all the help.
.mh-post-nav img { margin-bottom: 10px; width: 60px; height: 60px; }
Forum: Themes and Templates
In reply to: [MH Biosphere] How to avoid thumbnail creationThanks Harish, appreciate the prompt response. The Next and Previous link text now re-appeared, also the white space is gone. But the thumbnail images (that appear alongside these links) are still appearing large ??
- This reply was modified 4 years, 1 month ago by Debashish.
Forum: Themes and Templates
In reply to: [MH Biosphere] How to avoid thumbnail creationOk Harish, disabled all plugins. Just FYI I had the same set of plugins before I made the thumbnail related code change as above, so that shouldn’t matter. You can check again please.
Forum: Themes and Templates
In reply to: [MH Biosphere] How to avoid thumbnail creationI am sorry to revive this thread again, but it seems the navigation for Previous & next post at the bottom of Single post page is now ruined as it shows big images, and leave a big white space beneath it just above the footer section (example: https://dinorover.debashish.com/toothless-dino/). How do I fixed that? I am not facing issue with thumbnail size anywhere else.
Forum: Themes and Templates
In reply to: [MH Biosphere] How to avoid thumbnail creationAppreciate the help. That worked. Thanks.
Forum: Themes and Templates
In reply to: [MH Biosphere] How to avoid thumbnail creationThanks Harish, appreciate the prompt reply as always. I am still curios on how the theme will handle display of the image. For e.g. where mh-magazine-lite-small is used and I have an image of size 326×24, will the CSS display it resized to 80×60 on the respective place? Or I also need to do some CSS changes?
Forum: Themes and Templates
In reply to: [MH Biosphere] How to avoid thumbnail creationHi Harish,
Thanks for the reply. What change should I do? I guess stopping the thumbnail creation by commenting out the code won’t help, as it will break the images at all places. Should I just change the code in child theme to make all the sizes same (example as follows). But if I do that will the images get resized accordingly (e.g. where mh-magazine-lite-small is used it resizes to 80×60) on the respective places while displaying? Will I also need to do allied CSS changes?
/***** Add Custom Image Sizes *****/ if (!function_exists('mh_magazine_lite_image_sizes')) { function mh_magazine_lite_image_sizes() { add_image_size('mh-magazine-lite-slider', 326, 245, true); add_image_size('mh-magazine-lite-content', 326, 245, true); add_image_size('mh-magazine-lite-large', 326, 245, true); add_image_size('mh-magazine-lite-medium', 326, 245, true); add_image_size('mh-magazine-lite-small', 326, 245, true); } } add_action('after_setup_theme', 'mh_magazine_lite_image_sizes');
Appreciate the help.
Thanks,
Debashish
Forum: Fixing WordPress
In reply to: Automattic deleted WordFence pluginThanks, on WordPress.com I see only Akismet in the list of “Connected Apps”. I changed the password, reinstalled the plugin and its scanning currently. Do you suspect it was a malicious attach using Jetpack?
I had a different scary experience at another WordPress custom install of mine where I noticed about 300 odd SPAM posts in “pending” mode. They were posted using author names other than the administrator user and since they had a Contributor role the posts weren’t published thankfully. But I still wonder how the posts were crated, I have the email post facility disabled and I am pretty sure they didn’t break my password or they would have caused havoc. Is there any other way to post to a blog with using GUI or Email?
Forum: Fixing WordPress
In reply to: Problem adding iFrame to WidgetI see that your IFrame widget issue is solved now. The header/banner has really got nothing to do with this widget.
Forum: Plugins
In reply to: [Author Spotlight (Widget)] Problem name displayed authorAre you sure you added the correct author against the post? Can you post link to the Blog post page where I could check, the plugin works fine with latest WordPress and runs even on my blog ok.
You can simply add a sidebar widget area for the Single Page view, and then drop the Widget for this Sidebar like you add widgets normally.