I am trying to implement a simple one page -no blog- WordPress theme using a bootstrap template. I have an aside with three social links -facebook, twitter, Instagram- in the header.
I want to be able to make it so not only are these able to put truned on or off in by the user through the wp admin dashboard, but also the links to those sites able to be put in through said dashboard.
I am using udnerscores as a starter theme. How do I go about doing what I am looking to do?
This can be achieved using the Customizer API. That would be my recommendation. There is a lot of really good documentation on how to use that here. It also includes a whole bunch of sample code. Give that a look.
Related
I am a creating a website on WordPress that uses a plunging called H5P which allows the creation of interactive content. as in the picture below. However the creation of the content is currently only possible from the dashboard.
I would like to allow my website guests to use the plugin to create content but from a separate page and without letting them access or use the WordPress dashboard. In other words, I just want to show the users the section in green in the picture.
Similarly, Is there any way to allow the guests to create posts also without going from the dashboard? such as another page that the same fields to create a post but to be visited without going through WordPress dashboard?
Thanks a lot for any help you may provide
For creating post/custom post content from the front-end, one solution is to use the fol owing popular plugin and extensions,
Contact Form 7 plugin - a popular and simple approach to form designs in WordPress.
Smart Grid-layout Design for CF7 extension plugin - this allows you to design and build multi-column and multi-row grid layout forms to make your form more compact.
To see how this plugin can help you design better forms, see this tutorial on how to design a 2-column form layout.
This plugin extension was designed to fix the flaws of the CF7 plugin as well as improve its functionality, and as a result does a great many things. Once you install the plugin it adds a a tutorial section in admin dashbaord with a list of all the online tutorials available to learn how to use it.
Post My CF7 Form extension - allows you to map a CF7 form to a post or a custom post in the back-end.
To map a form to an existing post, please follow this online tutorial.
To map a form to a custom post type, please follow this tutorial.
The plugin also allows you to map dropdown lists to taxonomies, files to post thumbnails, and many more options. To understand how to do this, see this playlist of tutorials.
The site is a charity site, which is expected to have a news feed of goings on within the charity and events. Most of the home page is complete. But I don't know exactly how to write the code for an article in bootstrap, so that when I upload it to WordPress, it will interact properly. Allowing me to create new articles, remove old ones, etc. I either need to find out how to do this, or find out if I can use plugins to give me the same effect. This is my first time using WordPress. If you know of even a tutorial or something that helps with the news feed being built in bootstrap to work in WordPress, I would be over the moon. Thank you to anyone who offers their help!
I've tried to find an answer online but all I get are pre-built news theme suggestions. I guess there just that many it drowns out any answers.
The short answer is no.
A bootstrap theme is just a static page. (HTML, CSS, JS, etc.) But WordPress creates all its pages dynamically. This is because all the blog posts are saved in a database. In order to work with WordPress, you would really need to use a WordPress theme. If you know PHP you could easily migrate your bootstrap theme to a WP theme.
There is even a bootstrap starter Theme which might help you to get started: https://de.wordpress.org/themes/wp-bootstrap-starter/
In this case you would really just need to add your markup, styles and scripts to the project.
I want to create a widget for WordPress that anybody can use (for free) which contains some entertaining content (like a gadget for iGoogle in earlier times).
What I did not find out:
Can a (custom) widget be public/listed, so everybody using WordPress can see and use it?
Or do I need to create a plugin in order for other WordPress users to see and use it?
Since I want to let the users decide, where to put this additional content, how can I achieve this? (i.e. integrate this widget behaviour into a WordPress plugin?)
The basic idea is that we have some interesting content, we want to spread on WordPress for free.
It's up to you wether you want to create you widget through you theme (eg: via functions.php) or via a plugin. If you would like everyone to use it independently from a theme, then the best idea would be to do it through a plugin.
Here is a simple tutorial that explains the pieces of code you need to include either in your theme or in a new plugin to create a Widget accessible via the WordPress's widgets panel: http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-wordpress-widget
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.
Is it possible to create an image gallery in wordpress that is managed by the admin via it's own page / panel. I am not talking about creating a new post and adding custom html for each image. I mean actually having a page in the admin that has the ability to upload and manage your images?
If it is possible how do you go about creating a custom page like this? I understand the PHP side of uploading and manipulating images, but I don't know how to integrate it with wordpress. I don't need a full blow tutorial on how to do this, but if you could just point me in the right direction that would be great.
One issue that comes to mind right away, is if this is possible would upgrading wordpress break the code? Since I assume you have to edit the admin files directly and you can't just do it from your own custom template?
From playing around I found NextGEN Gallery (http://wordpress.org/extend/plugins/nextgen-gallery/) that has a tab in your admin panel. It looks like it would meet your needs.
You can manage all your media from the WordPress Media Library using tags if you install Tag Gallery
It requires the Media Tags plugin but it makes managing galleries so much easier and your using the built in media facilities of WordPress so it's not disjoint from the experience. There is a new version in the works that will offer much more impressive functionality as well.
Hope that helps.
There are a huge amount of image galleries for wordpress already made. Have a quick google for some (search "wordpress image gallery") and see if any of them are suitable (I'll be surprised if one of them isn't).
Failing that, you'll need to create yourself a Wordpress Plugin.
I've integrated ZenPhoto into my wordpress blog. It was pretty easy, would probably take you a few hours. The admin pages are completely separate from the wordpress admin pages, so you can easily give access to only one person.
You can create a custom post type called Gallery to manage create and manage image galleries. The post will have its own "Gallery" panel in the admin section and from there you can add new galleries just as you describe. There are lost of tutorials for creating gallery custom post types.