Greetings to developers community.
I'm new(beginner) on wordpress developing. I wanted to challenge myself and try to build a wordpress theme from an existing Static Website, (HTML to WordPress).
I've come across a problem or better to say I'm not having an idea of what to do on this step of development and wanted to ask for any advice or references on how to manage dynamic content on pages. What I want is: From the Dashboard if a user want to edit the content of a page how can he achieve it and do it without wanting him to go over the code. I am going to post a screenshot because I might not be cleared of what I want.
Screenshot
So those description how should be inserted on the page and be modified later if wanted without braking the style or model of the page?
I've tried Custom Fields but WordPress has a limit and can't add as many as I want and the list of custom fields went large.
Thank you in advance.
Your issue is easily solvable with a dynamic content plugin. you can try "Dynamic Widget Content" or If>So Dynamic content. Both free and worked great for me.
Related
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.
I'm making a website in WordPress, and I'm using a plugin ACF PRO. I'm doing the entire site with flexible content, so the WordPress site is like a page builder.
Everything is fine, however, I came to a point where I need to have same functionality for single-[custom-post-type], so I can "Add row", header, footer etc... on it, but I can't figure out on how to do it.
I know that it's possible, because e.g if you look at this site here: https://rolleragency.co.uk/our-projects/
You can see that it works. I know they are using flexible content because I worked on that site and I did there what I wanted. I can't remember how to do that.
I think I had to use a Tempate Page? Or? I can't remember.
THe site is built entirely on flexible content, so everything there is modular and it's like a drag and drop, but how do I do that on single-slug?
You have to create a page template, yes.
So something like page-projects.php then in WordPress admin you would have a page called Projects.
The template you created should be automatically applied to this page. If it doesn't for some reason you can choose which template WP should use on the right side when editing a page.
Now, you can add whatever code you need to the page-projects.php. And also any fields you may need for that page you can set up in ACF by telling ACF to apply those fields to pages that use projects template.
This is how I would and did do it on several occasions :)
I am making my first custom WordPress theme and i ran into my first big wall.
I have different content. I have videos and articles and photos. I need to display these pages differently.
Should i just add a category and display them differently that way? i think this is easy but i am having trouble Googling this problem.
You can create custom template for each page and then set them according to your requirement.
Reference Link
Example Link
this may help :
Creating_Your_Own_Page_Templates
wordpress custome Pages
I am about to build a Wordpress theme for a non-blog website. I am familiar with the basic post/page concept and I used to set a static page being the front page.
Now I want the fron-page to change *its background image* and a little part of its content every few seconds (Here is an example of what I am trying to achieve.)
I already know how to develop the javascript and HTML part of that! I would like to know how to make those changeable items (background-image as well as the small content) to be managable in the Wordpress admin area (Since that's the whole point o a cms, right :-)).
How would you do that? Is there a plugin to connect custom contents like that? Or do I have to build my own plugin? I would appreciate your thoughts :-)
The rough steps to take:
Create a custom posttype
In the supports option enable thumbnail
Create a few posts with a featured image (and other data you want)
Fetch your posts using WP_Query
Loop your posts.
Do JS magic.
questions? ask.
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.