Questions tagged [custom-theme]

92 questions
0
votes
0 answers

Custom WordPress theme: Shop page not found

I'm developing a custom WordPress theme including WooCommerce. To modify the WooCommerce default templates, I simply added a woocommerce.php file to my themes root folder. Everything works fine except the shop page. Whichever page i assigned to shop…
Akshay
  • 1
  • 3
0
votes
1 answer

Na latin-extendend in custom theme for Wordpress

I have created custom theme for wordpress - nothing complicated, just starting page, no footer, sidebar, menu. But here I have problem which I can't solve. I want to use font "Lato" from google fonts with latin extendend fonts (polish signs). As I…
Lukasz
  • 1
0
votes
1 answer

Block certain domains registering in WooCommerce

I'm trying to make a function in my functions.php for blocking certain domains from registering. I know there are some plugins who accomplish the same, but I just don't want to install plugins to make things easy. I've tried the function below, but…
Onno V.
  • 117
  • 1
  • 1
  • 13
0
votes
1 answer

Create Static Page wordpress

I'm facing a big issue with the right way of implementing the static page in Wordpress. I've read almost for 5 days along now, and still can't figure out how it (should) work. The problem i'm facing is as followed: When I make use of the option…
Onno V.
  • 117
  • 1
  • 1
  • 13
0
votes
1 answer

body_class() outputting classes to page

I have a custom WP page and want to be able to target different page id classes. When I add body_class() to the header section it outputs all classes to the page! I also have a gtag Google Analytics script tag at the start of the header but I…
Chris Cullen
  • 110
  • 9
0
votes
1 answer

no form tag in wordpress comments section

-- wordpress comments section not submitting comment -- I'm adding a comment section at the end of my single.php by calling comments_template(). The comments section loads fine and even shows posts that I've added manually in the admin section. BUT…
0
votes
1 answer

Updating WordPress Breaks custom Wordpress theme

We have a custom developed theme that gets broken with a 500 Error when updating to the latest WordPress. I am receiving this error in the log file: PHP Fatal error: Cannot redeclare is_iterable() (previously declared in…
J.Thomas
  • 13
  • 2
0
votes
2 answers

Saving Wordpress Theme Option Input Values

I have created a custom theme-options page which is fine and visible on the back end. I want the user to be able to input and save url values via the theme-options. I will then assign their associated variables directly into the markup to…
Nick
  • 185
  • 2
  • 14
0
votes
0 answers

wordpress changing url not opening wp-admin on click of save

hi i tried changing the wordpress site url in generals settings from www.xyz.com/wp to www.xyz.com on click of save I amm getting following error please help Error:
Reaper
  • 1
  • 3
0
votes
2 answers

Wordpress navigation menu automatically getting ordered by alphabetically

I am new to wordpress, and i am developing a custom theme, while i have registered a navigation menu in the theme. But the menu is showing automatically on the page while there are no items in the menu i have created from wordpress admin…
0
votes
1 answer

Keycloak custom email theme not working

For password reset link keycloak by default shows link expiration time minutes but we want to show that in hours. For this, we have made modification in keycloak email theme .ftl file (password-reset.ftl). These changes are working fine if we do…
Amol Ghatol
  • 179
  • 3
  • 8
0
votes
2 answers

angular 4 custom theme

I'm new to angular 4 and Angular material.Currently I'm using angular 4 and trying to create a custom theme. When creating the custom-theme.scss file, we are using variables to assign colors to primary, accent and warn like…
M_TAM
  • 17
  • 7
0
votes
1 answer

Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW)

Hey I am trying to add a customize option in a wordpress theme that allows for the user to upload there own image in in a showcase but im getting a syntax error in my customize.php file. Can any one help me write this the correct way? thanks! Parse…
Steven Grier
  • 31
  • 2
  • 4
0
votes
1 answer

get_post_meta in wordpress custom theme

i have a client that gave me his wordpress site for re-coding. and i saw he have a custom theme. so i tried to edit his site homepage, using the css stylsheet file and i saw that the file containing some code that i can't understant and i will be…
lol
  • 73
  • 1
  • 9
0
votes
1 answer

changing the_content() font color on single.php affects home page

I'm pulling my hair out here trying to figure this out. I'm developing my first custom WP theme, and for some reason, I cannot get the font color of the_content() to change specific to the page I'm on. On my home page, I want it to be white. On my…
itsseanl
  • 77
  • 1
  • 10