Notifications
Clear all

wpForo 1.x.x [Closed] wpforo-admin-note Help

6 Posts
2 Users
1 Likes
793 Views
Posts: 19
Topic starter
(@tronictalk)
Eminent Member
Joined: 4 years ago

hey 

I wanted to add a small area similar to the admin Note, can you please help me with an easy way. Is there some kind of code I need to add. I don't want to edit the original files to avoid any dysfunction in my forum.

5 Replies
Sofy
Posts: 4318
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

@tronictalk,

Please show on the screenshot where exactly you'd like to add the note. 

2 Replies
(@tronictalk)
Joined: 4 years ago

Eminent Member
Posts: 19

@sofy

thank you for the swift reply here is a screenshot

Sofy
 Sofy
Admin
(@sofy)
Joined: 6 years ago

Support Team
Posts: 4318

@tronictalk,

You can use the JS code below: 

jQuery(document).ready(function(){
    jQuery( "<p>Test</p>" ).insertAfter( "#wpforo #wpforo-wrap .wpforo-admin-note" );
});

Use the methods provided in this article: https://www.collectiveray.com/add-javascript-to-wordpress

Posts: 19
Topic starter
(@tronictalk)
Eminent Member
Joined: 4 years ago

@sofy 

do I have to put that in my theme's function file or the wpforo's,

I tried to paste it in both of them but I get errors, I'm a complete beginner, & how am I  suppose to add text in the backend when it's done.

If duplicating the admin note area is more easier please tell me how 

thx again

Sofy
Posts: 4318
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago
Posted by: @sofy

Use the methods provided in this article: https://www.collectiveray.com/add-javascript-to-wordpress

I've already provided the article in previous post. You can use the methods provided there.