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' ); ?>
Related
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 want to add some Global Text under Categories and Tags in Single Product Pages in Woo Commerce.
How Can I do this?
Thanks in advance!
You can use the woocommerce_product_meta_end action hook like this:
add_action( 'woocommerce_product_meta_end', 'add_custom_text_below_product_categories', 10 );
function add_custom_text_below_product_categories() {
echo '<p>Your custom text here...</p>';
}
This code snippet should be added to the functions.php of your child theme or via plugin like Code Snippets.
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.
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
1) I want to embed the woo commerce add to cart button on a non shop page.
2) I also want to change its text and replace with an image.
3) Last thing is i want to embed a variety product above this button and use the button for this.
You can create link with href="your_site.com/?add-to-cart={product_id}" - this works for simple products. If you`re using variable product - see HTML from single product page. If you have variable procut - woocommerce create a form instead a add to cart button. See parameters and create similar form where you need and submiting this form will add variable product to cart.
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.