Can code be used to replace text?
-
Hi,
I am using the WP job manager plugin with BuddyPress to build my website and I am using the the “BP job manager” add-on to display users resumes on their BuddyPress profile.
Unfortunately, the “BP Job manager” add-on doesn’t appear to be supported anymore and the problem I was having is that, as you can see here:
…there is some text which is displayed on user profiles which says “Your listings are shown in the table below.” but I only wanted the text to be visible if a user is logged in and viewing their own profile.
I was just wondering whether this plugin supported php as I wanted to replace:
<p>Your listings are shown in the table below.</p>
with:
if (is_user_logged_in() && bp_is_my_profile()) {
echo ‘<p>Your resume can be viewed, edited or removed below. </p>’;
}but for some reason when I tried to find and replace this text it is now just showing the code on front end:
I was wondering if it is possible for this to be done another way with this plugin?
Many thanks,
Jas
The topic ‘Can code be used to replace text?’ is closed to new replies.