can someone explan to me how to insert a widget in my header ? I want to be able to put a slider with text in my header..Normally I only use widgets on the website and that's it...
Can you describe a little more about your WordPress site? What theme are you using?
Unless you're comfortable editing the PHP of your theme, if your theme doesn't include options for a widget block in your header you might have difficulty doing this without the help of a developer.
If the theme doesn't provide this functionality out of the box, a developer would either need to add a widget block or add the slider as static content into your header by adding PHP code to your theme files.
Related
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 have started learning wordpress recently. I have started from version 5 with this new Gutenberg editor which introduced Blocks. I am little confused regarding difference between this new Blocks concept and old Widgets.
Starting with a Blocks: they appear on page creation and can be added to page, there is nice documentation on wordpress webpage: https://developer.wordpress.org/block-editor/tutorials/block-tutorial/ a lot of stuff related to new blocks.
Everything is fine, but Blocks can be added only to page content and not into areas like: sidebar, footer etc.
For changing content of sidebar,footer areas we need to access Appearance->Widgets area where we can add multiple widgets to specific areas. Also for new Gutenberd Page Builder there is section called widgets available but with less number of widgets than under
Apperance->Widgets section.
Im totally confused. Could someone explain what is the difference betweemn Blocks and Widgets?
Why for areas like sidebar/footer we can add only widgets and editing footer is under Widgets menu?
Why only part of widgets are available for Gutenberg Page Editor
What should i do to create reusable code snippet(some html/css/js logic) to be reused on a page? Should i create a widget and somehow include it to widget section for Gutenberg or maybe i should create this new concept of Block? But i will not reuse my block in footer/sidebar section...
Are widgets something which will gonna die soon in wordpress world and will be totally replaced by Blocks? I remember that in previous version we were able to add widgets to page using some kind of shortcodes, so any widget we want? Is it still possible?.
I will appreciate any comments on that.
The Block Editor is so far being used only to generate "content". In the world of WordPress, that normally very generic word has a very specific meaning: whatever is returned by the function the_content(). Usually it's simply all the text and media input on the edit page of a post or page, though that can be modified by filters. This content is entered either in the classic editor's text box or (now) in one or more Gutenberg Blocks.
Widgets, on the other hand, display content outside the main content, in widget areas that your theme has located outside the main content in headers, sidebars, footers, etc.
I suspect you already know much of this. As to your question about code snippets, the simplest way to re-use code is through WordPress shortcodes. Register your shortcodes in functions.php or in a plugin; enable them in your theme; then use them anywhere. There is now a shortcode Block, by the way, for placing recurring content into main content.
I have a wordpress site I'm designing for a friends school. If you look at the home page:
http://freelanceaccounting.co.za
There is a slider there. Now i want to insert some text next to it But it doesn't work it either puts it above or below it.
is there a plugin I'm supposed to use?
Hello you are using the education hub theme and huge slider which is not default by the theme.
May be theme contains the option to add text on their default slider. Please check that. if you want to use that plugin of huge slider then you can also check for that option. if it has not any option then you need customization either by theme or plugin.
I'm new to building websites.
I'm currently using Headway drag and drop Wordpress builder.
I've added Testimonial Widget by Aihrus plugin for testimonials, and I've added it to a widget box.
Problem is that I want to add custom CSS to it that I've seen on this site that is built for it, but the Headway theme doesn't allow you to go in and edit the theme. I've tried adding it to the block inside of the theme but it didn't work. I ended up going into the plugin and adding it to the CSS of the plugin, and it now half works.
Could someone please tell me what I'm doing wrong?
My site is rainorshinedogwalking.com
You can edit your live CSS here:
http://docs.headwaythemes.com/customer/portal/articles/1067360-editing-css-directly
What you type gets minified and added to your site's dynamic CSS file on page load.
All you have to is go through design editor click on the element you want to edit then right click. A pop up box should come up and it say edit element choose that then you will see something like that click it and add our own css
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!