I'm trying to create a child theme of an existing template on wordpress. I would like to change the template of the sidebar. Not to change the functionalities but just to change the visual aspect.
Here is what I currently have :
I would like to add the kind of underline and widgets you can see on the second picture. To do that I need to modify the template but I have no clue about how to do it.
Could you please help me if you know how ?
Depending on how you access your theme files, you'll need to either go to Appearance > Editor then find sidebar.php or if you need to access the file via your server files, go to wp-content > themes > theme-name > sidebar.php.
Sidebar.php is the sidebar of your website, and any changes made here will be reflected across your main sidebar in the live site.
Related
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.
I want to change the footer text and add my website name in it, how could I do so? I am using Magazine Pro Theme on Wordpress.
Normally pro themes provide documentation for customizing it. You can find there the changing option. You can also check the theme option for that.
I hope you will get your answer.
I must be present somewhere in the theme customizer. In mostly themes footer text will present in theme customizer under footer option
If you don't find the code in the theme customizer, then another method is to change it from the footer.php file. First of all, login to your WordPress dashboard and visit Appearance ยป Theme Editor from the left sidebar of your WordPress dashboard. On the right side, you'll see different theme files. From here open the Theme Footer file (footer.php).
Check this image
Now you can change the footer text from here. But before changing it, save the backup of code for restoration in case if you change the wrong code. If you still face any issues, send me the code which is present in footer.php and I'll guide you which code you have to change.
I try to modify a theme in WP and I just noticed that modifying a template part doesn't do anything. How is that possible? Tried on different browser to check if its cached and its not, how do I modify a theme part?
I'm using Academia Theme with LearnPress Plugin. I've made a Child theme and I'm trying to modify a file that is a theme part called content-course_list.php which is exactly the html that appears in the segment I want to modify. I just try to change a simple text that is "Read more". I found it, changed it and it doesn't update. I even put it in the child theme folder to make sure it gets it from there and nothing..
I don't use any cache plugins and the host is local (xampp).
It seems the theme has a "core" plugin (academia-core) as well, where its using some shortcode templates for parts of the website. I managed to find the text by its css class (found with chrome inspect in the page) while I searched in all the php files from theme and plugins. I hope this answer helps someone in the future.
I've been trying to develop my own theme and in need of some help regarding adding content to the footer.
I need to add some text to the footer which could be changed via the admin panel. I know about the Advanced Custom Fields Plugin, but I would like to learn how this can be done without using it.
I've seen theme's where the footer(or other) changes can be made via Appearance > Theme Options section in the wordpress dashboard and I too would like to do the same.
I would be grateful if anyone could provide me a link or help me start with the process of doing so.
Regards,
Vinith Almeida
You can install the OptionTree plugin for WordPress. Then you can set your theme settings via the plugin, and then when you come to the footer section, you can use the ot_get_option() function to use the user value.
You can also watch this video for more help : http://www.youtube.com/watch?v=wS0WlHITVfc or this http://www.youtube.com/watch?v=J9JQJAu0X30
You can always register your own code for an option page that can contains options for your theme, but this requires deeper knowledge of the WordPress.
I am using a WordPress theme in a site. I want to edit the bottom of the page, replacing the WordPress default message and replace it with a custom message. The problem is, the change I want to make should be independent of the theme. I can change that editing footer.php using admin panel. Problem is, I do not want the changes to be reverted as soon as I change the theme. Can anyone suggest how to achieve that? Besides I want to remove the WordPress logo, too.
This isn't the way wordpress works I am afraid.
Anything that is tied to the database (posts, pages etc etc) will remain from theme to theme, but any changes you make to the theme files directly (editing default footer text) are tied to not just that theme, but those specific files. If you change the theme, or update the theme to a new version, your changes will be lost.
You are editing a file, and that file will no longer be in use when you switch theme.
You could use a plugin to create an overlay layer at the bottom of the page but this would be a fairly nasty solution and would be liable to appear differently when you change the theme.
Alternately, a plugin could be used to inject some javascript that modifies the footer but again, would depend on the theme as to what classes/IDs you'd be wanting to modify.
Basically this isn't something that's done!