Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

wordpress.org

Home/ wordpress.org

Redirect away from page if user is not admin

Question
I have a Wordpress page that should only be visible to the admin. Any other kind of user role, or logged-out visitors, should be redirected away to the home page if they ever try to visit that page. Most snippets I found are good for redirecting after logging in or even redirect based on
0
php, plugins, wordpress.org Paolo Montalto 2 years 0 Answers 63 views

Updated Php version from 5.4 to 7.2 and getting missing the MySQL extension

Question
I am new to wordpress and I wanted to add a custom plugin which required php version 5.6 or higher. In my cPnael -> MultiPHP Manager, there were options to upgrade version to 7.0, 7.1, 7.3, 7.4. I upgraded it to 7.2 but now my wordpress site gives error like Y
0
php, wordpress-version, wordpress.org Hasnain Ghias 2 years 0 Answers 55 views

Error establishing a database connection(configuration)

Question
I hope you can help me to fix my problem. i am using wordpress for the first time, and i don't know why i am getting Error establishing a database connection knowing that i have created the file wp-config.php by myself then i provided the informations of my database. i cre
0
database, php, wordpress.org codepro 2 years 0 Answers 63 views

Can I create a separate admin section for my plugin?

Question
Is it against the WordPress guidelines to create a separate Administration section for my plugin? For example, Elementor opens a separate page for building pages but I'd like to create a similar administration section but do more stuff as WordPress itself does. Like items listing, editing, etc. Y
0
admin, plugins, wordpress.org Krishna Suwal 2 years 0 Answers 57 views

Uncaught Error: Call to undefined function twentytwenty_the_post_meta()

Question
I'm working with WordPress customization, I created a template who has the following code <?php /* Template name: Master Template */ get_header(); ?> <body> <?php if(have_posts()): while(have_posts()): the_post(); the_content();
0
customization, fatal-error, templates, wordpress.org Ali Bhutta 2 years 0 Answers 59 views

Filterable portfolio for showcasing websites similar to Divi

Question
I want to create a filterable Portfolio page in my divi website which should be similar to the divi's official portfolio page as shown in the image attached. I want to make a portfolio page for my website like this. Please help
0
plugins, web-services, wordpress.org saniyasaher20 2 years 0 Answers 70 views

Your Paypal Adaptive AppID

Question
Am working on a Wordpress Theme called freelanceengine to setup my Paypal Escrow account. I need help create API Credentials and Live APP ID Thank you
0
paypal, wordpress.org l3lmk 2 years 0 Answers 49 views

Can’t add to cart after changing variations

Question
I've been working on the modifications of the select list of the variations (Wordpress,Woocommerce). There are 2 buttons up and down that are expected to change them. They are working but 'Add to cart' isn't active when I change one variation to another. //buttons up and down $(d
0
jquery, woocommerce, wordpress.org Henry49 2 years 0 Answers 51 views

Commercial WordPress Theme Updates

Question
I am building a commercial WP theme and looking at the updates function. I found this post: Making update notification functionality for my themes which directed me to t
0
wordpress-version, wordpress.org Leanne 2 years 0 Answers 44 views

Can’t add to basket after changing variations

Question
I've been working on the modifications of the select list of the variations (Wordpress,Woocommerce). There are 2 buttons up and down that are expected to change them. They are working but 'Add to basket' isn't active when I change one variation to another. //buttons up and down $
0
jquery, woocommerce, wordpress.org Henry49 2 years 0 Answers 39 views
1 2 … 32
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

  • 404 error - Page not

    ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.