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

theme-development

Home/ theme-development

Can I add customizer to a custom made wordpress theme and have those styles in a CSS file?

Question
I would like to make my colours, logos, and hero images all dynamically changable using my customizer.php. I haven't played around with customizer much, but understand I need to use php to store the values somewhere. By my understanding, I would need to put in on the page.php header.php, or where
0
css, functions, php, theme-customizer, theme-development davidb3rn 2 years 0 Answers 89 views

Theme Functions run a function upon activation or preview

Question
My theme currently has the following line in the function.php file: if ( $_GET['activated'] == 'true' || $_GET['preview'] == 1 ) If this statement is true the code runs a function. I am getting a php error that says Notice: Undefined index: activated in and Notice: Undefine
0
php, plugins, theme-development user1609391 2 years 0 Answers 58 views

Why front-page.php doesn’t show content of file instead shows loop

Question
Firstly, I understand the template hierarchy a little bit and read all the answers given by experts but unfortunately didn't get that. Here is the problem I face: If I use home.php then the content of the file is used on the home-page but when is set the static pa
0
child-theme, theme-development Raashid Din 2 years 0 Answers 61 views

Are there any guidelines/standards for post styling?

Question
I am a beginner in Wordpress Theme development. I have been trying to create my first theme and I have already started by adding some basic styling. I am using single.php as a template for loading the content of a single post. I started by applying some basic layout, margins and padd
0
posts, templates, theme-development Abrar Hossain 2 years 0 Answers 57 views

WordPress theme breaking down my website for no reason [closed]

Question
I was coding on my website when suddenly it totally broke for no reason. I turned WP_DEBUG to 'true' but no error message, only my header with a strange position and a blank page. I noticed that I had some plugin updates to make, so I made them and saw my homepage like it was before (great am I s
0
theme-development, themes Paul Maudry 2 years 0 Answers 69 views

Website bouncing when trying to scroll to the bottom

Question
The site im build is having an issue where i cant scroll to the bottom of the page because it just bounces. I have never had this problem before in like 10 year of development which leads me to think its an issue with the theme The problem only seems to happen on a mobile device (android/i
0
css, html, mobile, theme-development webbie1985 2 years 0 Answers 73 views

How to output wp_enqueue_style() in HTML head instead of footer

Question
I added some actions to wp_enqueue_scripts to load my custom css and js files in the header section by using wp_head(); right before the closing </head> tag. function mytheme_scripts(){ // Load our main stylesheet wp_enqueue_sty
0
theme-development, wp-enqueue-style, wp-head Bunjip 2 years 0 Answers 52 views

Removing element from DOM with jquery through plugin Custom Scripts for Customizer

Question
This is my first post. I have the plugin powerpress loading an external image from an unsecure source that causes mixed elements so the page is not fully secured and I get the message "not fully secure". The plugin offers a great shortcode where you can add a default image but is not working wit
0
ssl, theme-customizer, theme-development kickdrummer 2 years 0 Answers 61 views

Error on The uploaded file exceeds the upload_max_filesize directive in php.ini when building theme

Question
So I'm building a WordPress theme from scratch and I'm learning things as I progress, but I'm having issues with file uploads on production. So locally, everything works great and I can upload images perfectly, but on production I am getting this error "The uploaded file exceeds the
0
theme-development, themes Sem 2 years 0 Answers 53 views

Loop inside page template not working

Question
I am facing a problem with the loop inside the page template. Here is the code. <?php /* Template Name: Blog-Template */ get_header(); $args = [ 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => 1, ]; $posts = new WP_Query( $args ); while ( $
0
page-template, theme-development Raashid Din 2 years 0 Answers 49 views
1 2 … 56
  • 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

  • 404 error - Page not

    ...

  • 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 ...

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.
      Skip to toolbar
      • About WordPress
        • WordPress.org
        • Documentation
        • Support
        • Feedback