How to change default blog tempate in wordpress genesis framework? - wordpress

So I have a child theme which extends genesis framework.My child theme is basically using the Genesis blog article theme. I looked into the page_blog.php of the Genesis theme but it has only genesis loop running and says that code being used is in the file lib/structure/loop.php. I want to change the default blog article page, I want to show the author name, blog category, a published date which requires the change in the HTML. How can I do so?

if I got it right, you need to override files in the parent theme by recreating them (at least copy them) into the child theme directory>> so you need to copy the blog article page and change it,also you may need to create functions.php in the child for new functionalities
for more details https://developer.wordpress.org/themes/advanced-topics/child-themes/

You have 2 options :
You can create your own page_blog.php file in your child themes root directory and add code directly to the file and modify the default functionality.
Or you can select the blog page template and use custom fields to control the query variables

Related

How to modify WP Job Manager job listings template?

Long story short - where is the template for the listing list items that are shown when the [jobs] shortcode is used?
I have a WP site with WP Job Manager. I am using the [jobs] shortcode to show a list of the jobs that is searchable. I need to modify the template of the listings to show lets say an excerpt of the job offer. I think the template showing there is the content-job_listing.php, but when I modify it nothing happens. So my problem is I can't seem to find the correct template.
I've searched the whole plugin code and can't seem to find anything remote to what is displayed on my page where the [jobs] shortcode is.
So what is happening here you think and where usually is the template I am looking for?
content-job_listing.php ist the corect template for it. What theme are you using? If you are using a WP Job Manager specific theme like Jobify then they probably have a custom template overriding the plugin's template. Then you'd have to look in their documentation to see which file that is.
Where are you editing the file? In a child theme or in the plugin's folder? If you are editing the file in the plugin's folder and you don't see changes then you probably have the file in a child theme as well. The child theme takes priority in that case.
Anyway you should make changes only in a child theme and not in the plugin files to make sure your changes are update-proof. It could also be that you are editing the file in a child theme which is not the active theme in your WP install?
If you haven't done yet check out the official WPJM documentation on this topic: https://wpjobmanager.com/document/template-overrides/

How to change the site log URL to custom URL of the theme 50603 from Template Monster

I am using this theme:
https://www.templatemonster.com/wordpress-themes/50603.html
How you can change the site logo URL on the header section?
I followed a lot of steps from may sites such as the following, and nothing worked:
https://docs.oceanwp.org/article/473-change-custom-logo-url
https://crunchify.com/how-to-change-logo-url-link-for-any-wordpress-themes-including-genesis-themes/
https://docs.oceanwp.org/article/473-change-custom-logo-url
None of the above links were helpful.
I appreciate your help.
Tarek
you can try from the admin dashboard Appearance -> Customize -> Header
generally site logos can be changed from there
Edit:
My apologies, I just realized that you are looking to change the site logo URL.
You will want to install a child theme first if there's one for your theme or create one Child Themes - Wordpress
Then, you will want to dive into the original theme files and see if there are any filters within your header.php and use it to replace the anchor with a the one that you specify in functions.php in your child theme Filters and Hooks - Wordpress
Do take note that if you modify the theme functions.php directly without using a child theme it will be reset everytime you update the theme.

WooCommerce template folder not override when add on wordpress child theme

I'm customizing a Wordpress theme. The original theme has a WooCommerce folder inside like:
/wp-content/themes/az/woocommerce/
I created a child theme and activated it, then copied the WwooCommerce folder to child theme:
/wp-content/themes/az-child/woocommerce/
But web when I customized the child theme WooCommerce folder files there was no effect; the site seems to still be using the original WooCommerce folder not the new version.
Could anyone help me resolve this issue, please?
First check whether do you have any overriding template present. for that see the steps in the image given below.
If there is no templates overridden then refer to this link

WooCommerce custom checkout page in theme

Is it possible to create custom checkout page in my theme? I mean to create custom checkout.php document I do not want to edit WooCommerce default theme.
Yes, this is achieved by overriding the WooCommerce checkout.php file in the plugin itself by placing it in your theme's WooCommerce directory. You are right not to want to edit the plugin because any updates will render such changes obsolete. You can see the following files you would want to override here: https://github.com/woothemes/woocommerce/tree/master/templates/checkout
Your directory should look something as follows:
themeroot/
single.php
page.php
etc..
woocommerce/
templates/
checkout/
form-checkout.php
form-billing.php
etc
You can learn more about creating Custom WordPress themes by viewing the document. You will want to duplicate and work of these files to create your custom checkout page.

Wordpress child theme or plugin?

I have a client that wants to have a custom form added as a page on his Wordpress site. His site is using the "Genesis" framework and is already using a child theme of "Manhattan". I can create the form as a page template from within the Manhattan directory but if they ever update, the changes will be lost. What should I do?
I suggest you make it a plugin with a shortcode that way you can use it on every page you want. And even posts (which don't use templates)
You also could take a look at form plugins, which are fine if you don't need advanced forms.
As long as you place your template inside the Manhattan directory -- assuming you don't place that directory inside of the Genesis directory -- you won't have a problem with over-writing on update of the Genesis theme. Child themes do not have to be inside the parent theme's directory, indeed, they sd not -- they sd be in the /themes directory. See, http://codex.wordpress.org/Child_Themes
it is a very complex form?
If you add a custom template to the existing theme you may loose the changes when the theme is updated.
If is a simple form, I'd use a plugin like contact form 7, or caldera forms.
If not (or you don't wan't to use a wp.org plugin), you can create your own plugin and register a shortcode, you can write all the form functionality at the plugin and use the shortcode in the WP editor.
This way you won't have any risks of loosing features due to a theme upgrade

Resources