Raam Dev
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Independent Publisher] Php 8 – Independent PublisherHi @amerlin,
I am running the theme on PHP 8.1 without any problems. There is a PHP warning that gets thrown in PHP 8.1 (see https://github.com/raamdev/independent-publisher/issues/326), however that is not a fatal error so it should not produce a white screen.
Can you please check your PHP logs to see what error is being thrown when the theme is active?
Forum: Themes and Templates
In reply to: [Independent Publisher] Eliminate space between paragraph blocksHi @nancy54cat,
Changing the style of the content in the post editor so that the space between paragraphs is smaller would require modifying the CSS styles:
.editor-styles-wrapper p { margin-block-start: 0.5em; margin-block-end: 0.5em; }As I noted in your previous question, you can normally do that on WordPress.com by logging in and viewing your site, then clicking on the “Customize” button at the top of the page, then you’ll see a menu on the left with an item called “Additional CSS” where you can paste in the CSS style to customize the default style.
Here are some more articles that may be helpful:
Forum: Themes and Templates
In reply to: [Independent Publisher] Eliminate space between paragraph blocksHi @nancy54cat,
The link that you included for the page you need help with is a link to the post editor in the WordPress Admin. Are you looking to change the space between paragraphs when you’re editing the post in the WordPress Admin, or when you are viewing the published post?
Forum: Themes and Templates
In reply to: [Independent Publisher] Dividing line between postsHi @nancy54cat,
You can change the color of that border using some CSS like this:
.site-main > .hentry:nth-child(n+2) { border-color: #727272 !important; }You can change the
#727272color code to any color. You’ll find the color codes online searching for “html color code”. Here’s an example tool that lets you select a color and generates the code: https://htmlcolorcodes.com/color-picker/However, you’ll need to be able to add that CSS style to your site so that it changes the color of the border. You can normally do that on WordPress.com by logging in and viewing your site, then clicking on the “Customize” button at the top of the page, then you’ll see a menu on the left with an item called “Additional CSS” where you can paste in the CSS style to customize the default style.
Here are some more articles that may be helpful:
Forum: Themes and Templates
In reply to: [Independent Publisher] Borders around images@nancy54cat It should be possible to put borders around the images using some CSS styles. Do you have an example border you can show me?
Forum: Plugins
In reply to: [Comment Reply Email] Replay Email HTML format is not workingI can confirm that the fix in v1.1 of this plugin is to replace this line:
$mailContent = esc_attr($this->options['mail_message']);With this:
$mailContent = wpautop($this->options['mail_message']);Here: https://plugins.trac.ww.wp.xz.cn/browser/comment-reply-email/tags/1.1/comment-reply-email.php#L218
And also replace this line:
<textarea name="mail_message" id="mail_message" cols="100%" rows="10" ><?php echo esc_attr($this->options['mail_message']); ?></textarea>With this:
<textarea name="mail_message" id="mail_message" cols="100%" rows="10" ><?php echo esc_html($this->options['mail_message']); ?></textarea>Here: https://plugins.trac.ww.wp.xz.cn/browser/comment-reply-email/tags/1.1/comment-reply-email.php#L342
Forum: Themes and Templates
In reply to: [Independent Publisher] Styling Jetpack Subscribe buttonHi @absentfriends,
It looks like the other buttons in your sidebar are actually
<a>elements and not<button>elements. You’ll need to target your CSS styling at thebuttonelement like this: https://github.com/raamdev/independent-publisher/blob/79ec16dc83fd02b25db2b736aaad6e7b72e56c6b/style.css#L316-L345Depending on the other CSS on your site, you may need to add the
!importantproperty to force your styles to override the default: https://www.w3schools.com/css/css_important.aspForum: Plugins
In reply to: [Comet Cache] Referrer-Policy header is being omitted@siravecavec I’m sorry to hear that and I understand your frustration. I’ve sent an email to @clavaque and pointed him to this thread.
Forum: Plugins
In reply to: [Comet Cache] Referrer-Policy header is being omittedHi @thejokertm,
I believe that’s possible by overriding this function in a child theme and removing the
&& is_sticky()from this line.- This reply was modified 3 years, 7 months ago by Raam Dev.
Forum: Plugins
In reply to: [The Events Calendar] Fatal errors with PHP 8 + HyperDBHi @eeide,
Unfortunately v6.0.1 did not fix the issue with PHP 8 + HyperDB. I’m still getting the same fatal error when visiting the events archive page.
Forum: Plugins
In reply to: [The Events Calendar] Fatal errors with PHP 8 + HyperDBHi @abzlevelup,
Quick question were you able to use the plugin properly after commenting those lines of code? And continue with the migration to v6.0?
The plugin appeared to work normally with that line commented out, however I did not do any extensive testing as I’m not familiar with all of the plugin’s features. Also, there was no migration to v6.0 involved—I was testing v6.0 and did not have any previous versions installed.
Forum: Themes and Templates
In reply to: [Independent Publisher] Recent changes to theme?@zeadsdead sorry! I missed your message here.
I agree that the menu behavior could be improved. There are a couple of existing issues on GitHub related to menus but I invite you to add something additional describing what you’d like to see, as GitHub is where I track these things and will revisit the open issues whenever I work on a new release.
Forum: Themes and Templates
In reply to: [Independent Publisher] Menu : Sub items hidden@jlou65535 That’s strange. I tested it on my WordPress.com site and the Content Options appeared in that menu. It’s possible that the option is only available when using the theme on WordPress.com. You might want to post a question about this on the WordPress.com support forums and mention that you’re using the theme on a self-hosted ww.wp.xz.cn site.
Forum: Themes and Templates
In reply to: [Independent Publisher] Menu : Sub items hidden@jlou65535 If you’re referring to showing Post Excerpts on the home page, you should be able to do that in Appearance → Customize → Content Options →
Blog Display → Post excerpt.