bloggingandwb
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Twitter Auto Publish] Message Update ProgrammaticallyThanks for the reply. Actually, I just want to set custom field as the URL. It means each post contain custom field which store custom URL. I want to set it to message.
Forum: Plugins
In reply to: [Thumbs Rating] Is it possible to allow unlimited votes for admins?Thank you very much. It worked, but I didn’t find a way to add a data attribute. So I did it this way.
add_filter('body_class','add_role_to_body'); function add_role_to_body($classes) { $current_user = new WP_User(get_current_user_id()); $user_role = array_shift($current_user->roles); $classes[] = 'role-'. $user_role; return $classes; }
Then change your code like this.
const isAdminLogin = document.body.classList.contains( 'role-administrator' ); if(!isAdminLogin){ localStorage.setItem(itemName, true); localStorage.setItem(typeItemName, true); }
- This reply was modified 2 years, 10 months ago by bloggingandwb.
Forum: Plugins
In reply to: [YOP Poll] YOP Poll does not show up on front endI have the same problem. Any solution? No cache plugin enable.
Forum: Themes and Templates
In reply to: [OceanWP] Two Sidebar (20% sidebar, 60% content and 20% sidebar)Thanks @amith
Then white space gone, but that’s not the way I need.
I want to design site as 20% sidebar, 60% content and 20% sidebar again
Thanks for the reply.
In post table guid column,
I see something like https://mydomain.com/feed-items/building-an-app-for-your-wordpress-site-try-mobiloud-first/
But Actually what I want the original link.
For a example if I add dailyblogtips.com, I need dailyblogtips.com/building-an-app-for-your-wordpress-site-try-mobiloud-first/ URL.
Please can you tell me where the original links are saved or, way to get them?
Again thanks.
Thanks weDevs Support.
I can write a function to check that custom filed is unique or not. But I don’t know where I should call that function. Can you please help to find it? Where should I call that function?
Forum: Plugins
In reply to: [Category Featured Images] Custom Post Type Taxonomy/category ?I also have the same question. antoinepernaud, did you find a solution?
Forum: Plugins
In reply to: [Frontend Publishing] Add another field to Submission FormHey Hassan,
Thanks for the reply. Is it very hard to do it? I mean, can’t change the plugins code and add it? I haven’t good knowledge about PHP, but if you can say what should I add to plugin code, I can do it.