Articles of admin

Send function to order details in backend Admin

I’ve made some function to check, what is total cart, and show how much discount have. For example: If customer add to cart minimum $300, i will show “You have 10% discount”. And i have 3 steps for this. Discount i have made 3rd party plugin. And How to add this function to order details […]

Styling WordPress Admin rows based on custom post metadata

I have a plugin that adds custom metadata to my posts, and I would like to stylize rows in the list of posts in the Admin –> All Posts depending on the metadata, e.g. if a deadline of the post has passed, then paint the row red, else if the post contains a custom URL, […]

Missing content on website. Admins cant sign in

Why has the content of our website disappeared? We have nothing. The site is still up but it is blank. Help please.

How to add Hidden input box to custom post's form (In Post List Table)?

I need URL of “admin–ajax.php” in my jQuery ajax call. But My jQuery is in separate file. I need that URL to call the backend. So i try to create Hidden Field on form to store the Path as Value and callback from jQuery. But i don’t know how to create in Post Table’s Form […]

exclude ID on avatar

How to exclude admin on this avatar function ? <div class=”single-post-about-author”> <div class=”author-avatar-w”><?php echo get_avatar(get_the_author_meta( ‘ID’ )); ?> </div> <div class=”author-details”> <h3 class=”author-name”><?php the_author_meta( ‘display_name’ ); ?></h3> </div> I am trying to hide admin avatar and display name on my single post

Admins loggin in to our wordpress site default to the admin page

Each time an admin logs in to our regular site (NOT wp-admin), they end up on the dashboard page, not the site home page. In other words, browsing to and then logging in should bring me to my home page, but instead, it brings me to the dashboard, as if I’d accessed How […]

Change position of metabox in backend (programmatically) for specific role

Basically, I want to place the ‘write a concept’ metabox as the first metabox in the admin dashboard, but only for the ‘Author’ role. I want to do this programmatically.

WordPress4.1.15 Dashboard links not working

I have WordPress 4.1.15. When I tried to update to ver. 4.7.2 (clicked the link on the dashboard). It wrked for few seconds and returned back to dashboard screen. After that, no links in Dashboard are working anymore. List of plugins,pages, etc. The link at the bottom of the page is displayed properly (e.g.wp-admin/edit.php?post_type=page). If […]

Finding the files / template / js that is being used in the admin / backend

I have an admin page for a plug-in, and I want to know what JS/template files are being used to generate the UI in the back-end. I.e. I want to be able to go in and debug the files that are generating the back-end. How do I identify the files being used? Paul

Wordress admin page is fetching error You do not have sufficient permissions to access this page.

Wordress admin page is fetching error You do not have sufficient permissions to access this page. Mysite url is but its admin panel url – is rendering an unknown error You do not have sufficient permissions to access this page. Where I thoroughly checked the $table prefix : wp_ is same in databse […]