Hi there
There are two ways you could remove this.
You could edit the page template to remove the separator line, this article explains how to do edit PMPro pages.
https://www.paidmembershipspro.com/documentation/templates/customizing-via-theme-templates/
You could also write a str_replace function to replace the text and remove the separator.
https://gist.github.com/femiyb/fe0b27db3b83225c9ae378aa468da97a
Thread Starter
zfiske
(@zfiske)
Hi,
Unfortunately, by your answer I can see that you didn’t look at the code I am referring to.
I have looked through the code on the page template for the membership account as well as the code for the “account” shortcode. The separator bar is NOT in either of those templates…which I found highly unusual…which is why I submitted the support ticket.
So I will need some other ways to remove it since I can’t locate it in the templates. If you look at the templates you will see what I mean.
It is basically easily removed if I simply hide all the action links, but I want to keep the “RENEW” link available.
Any help is appreciated.
Hi @zfiske,
Since Paid Memberships Pro 2.4, we have added in a new filter that automatically adds a pipe “|” between these action links. You can easily remove these by adding the following code snippet to your WordPress site – https://gist.github.com/kimcoleman/24623d2c3b25016066f6c1a348a60393
You may follow this guide to add this code to your WordPress site – https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/
I hope this helps get you started.
Thread Starter
zfiske
(@zfiske)
Hi,
Thank you! Exactly what I was looking for!