Raam Dev
Forum Replies Created
-
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
#727272
color 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']);
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>
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 thebutton
element 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
!important
property 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 2 years, 4 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 www.ads-software.com 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.Forum: Themes and Templates
In reply to: [Independent Publisher] Menu : Sub items hiddenHi @jlou65535,
Sub-menus are not currently available in the theme, but there is a feature request open to add support for it.
As an alternative, you might try using Independent Publisher 2, which is a version of the theme updated for WordPress.com and that version does support sub-menus. If you scroll down to the bottom of that page, you’ll see a download button where you can download the theme for self-hosted sites.
Forum: Themes and Templates
In reply to: [Independent Publisher] Recent changes to theme?There haven’t been any recent changes to the theme. When I look at your site, the menu still shows up on the left.
If the browser width decreases to less than 1200px wide, a few things get moved around to make room for the content, but that has always been the case. Is that what you’re seeing?
If you make your browser wider, does the menu re-appear where you expect?
Forum: Plugins
In reply to: [Local Gravatars] Filter for get_local_gravatars_fallback_url functional?Hi @leanderbraunschweig ??
I’m not the plugin author, but I happened to come across this plugin and your question.
You are correct that the
apply_filters()
function is incorrectly passing an empty value. I’ve opened a Pull Request with the plugin author to fix this: https://github.com/aristath/local-gravatars/pull/1However, even with that issue you should still be able to override the empty value with a value of your own and I confirmed that your code looks correct.
However, I wanted to point out that
get_fallback_url()
is only used in two scenarios:– When
should_process()
returnsfalse
– Or when there’s a failure to move the downloaded Gravatar to the appropriate pathHave you verified that both of those scenarios were true when testing? That specific filter does not always override the Gravatar image that’s returned by WordPress. If you want to always override all Gravatar images, you can do that by overriding
get_avatar_url
.I hope this helps!
- This reply was modified 4 years, 4 months ago by Raam Dev.