Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I need to customise the theme for the node add page in Drupal 8. I know how to customise the node page but not the add/edit pages.
Is this the /node/add page or the /node/add/{type} page?
The former uses the theme hook node_add_list (see https://git.drupalcode.org/project/drupal/blob/8.8.x/core/modules/node/src/Controller/NodeController.php)
The latter page is just a form with the ID node_form, so it can be altered with hook_form_node_form_alter - see this question for how to alter a form to send it to a custom template: https://drupal.stackexchange.com/questions/146434/send-a-form-to-twig-template
PS: I recommend https://drupal.stackexchange.com/ for Drupal-related questions.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
My website has so many wordpress contact forms to collect the leads...I want to create a form class or form id in order to differentiate from which contact form i am getting the leads or which contact form is my customer using to submit the details...Please help me in this matter
I think hidden fields can help you do this. Simply add a hidden field (example below) to each of your contact forms.
[hidden name default:name "Your Form Name or ID"]
You can find more info here: https://contactform7.com/hidden-field/
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I wonder if there is a way to apply style for only variable products in WooCommerce. I need it because one of my buttons i custom styled and it goes out of place when there is variable product.
Sorry, here is https://prntscr.com/kuo735 the button and here is the URL persoonlijktelefoonhoesje.nl/product/… and here is the button that it's out of place -> https://prntscr.com/kuo8a9 and the variable product http://persoonlijktelefoonhoesje.nl/product/geometric-unicorn-telefoonhoesje/
When the product is variable it's container has a product-type-variable class. So, in your case CSS of the button for vairable product will looks like this:
.product-type-variable .entry-summary{
}
Make sure that only one element on your page has class entry-summary.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to add reviews to my woo commerce products as an Admin. I want to add reviews that I can copy from another website and put those in mine for the same product.
It's not really that hard, is it? You just have to edit the product and scroll down below it. You'll find "Reviews", where you can add one.
If this is not present, you will need to add it. On the top of the page where it says "Screen Options", make sure "Reviews" is checked.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I want to create a multi individual post but I can't find way to do it. I'm using a theme called zerif-lite and I have two custom menus - Our Client and Carreers. For Carreers I use a plugin called Job Manager.
When I click a link on either menu, it goes to the template Content-page.php, whereas I want the links from the Carreers menu to go to a page using the Carrers-page.php template.
You can see in my picture the result that I want.
I think a good approach would be to include your requird file carres-page.php.
You can do this like below:
<?php include (TEMPLATEPATH . '/carres-page.php' ); ?>
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have custom post type. I want to assign an icon to each category of custom post post type.
I used category and page icons plugin for that. But it is not working with custom post type.Is there any plugin for custom post type category.
The plugin Advanced Custom Fields is capable of that. And it is a very fine plugin, well coded, documented and maintained.
In a fast test in my development install.
Setting the field up:
Result in the custom taxonomy screen