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
Related
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.
So I am trying to do this and I don't know how. I have a wordpress powered website with a plugin called "frontier-post" in it. This plugin makes a new front-end post submission. The way to use it is to put the shortcode "[frontier-post]" in any post in my wordpress page and that page turns into this.
I want to make a custom page for myself, where I can have the content created by this plugin there too. So I do not want it to be a post in my wordpress, but lets say at a corner in the custom page. I have searched and found these but the suggestions there would not work. I am able to include the wordpress so that the custom page has access to posts, etc. but even using this
echo do_shortcode('[frontier-post]');
would not help me. (even if header is included)
These are the similar things i found:
Wordpress/PHP - How to use plugins outside wordpress-powered pages?
Need Help for my Custom Page Template
I would really appreciate it if you could help me with this.
If you are creating a PHP page that isn't going to be rendered inside WordPress, you can't use a Plugin of the WordPress engine to accomplish what you are wanting to build. (As the accepted answer to one of the pages you link to indicates).
Instead, you might be able to use the json-api plugin and have your custom page query it for the data. While it won't render the shortcode, it will give you the raw data to work with.
http://wordpress.org/plugins/json-api/
Edit:
Based on a comment, your do_shortcode should work...just try it without the square brackets.
just a quick one, im sure its very easy although it is drving me crazy.
I have a custom theme that i have developed. I have developed a few different views. For some reason my blog and colorbox are showing on both the colorbox and blog pages that i have created.
I only want the Colorbox views to be displayed on one page and the other view to be shown on its own page. For some reason they both display on the same page.
THanks for looking into this guys!
In which method you have displayed the view? is it in BLOCK or PAGE?? this might be page i think. so please edit the block and make sure it is not listed in all pages
I wanted to create a horizontal based wp theme.
Something like this one (http://www.lena-meyer-landrut.de)
What would be the best starting point to do that?
Every menuitem(category) is a single post? A custom field? a page? Something else?
Thanks for your help.
If the content doesn't change too often, you can use pages.
But with that theme you would have to write multiple wordpress loops, this code can get quite messy.
Create a loop for each "page" that shows up on the page.
Another way...you could hard-code the design + jQuery sliding.
Then for the plain content sections you could create multiple "sidebars" and put a sidebar where each content part is...the user could then edit their own content with a text widget.
http://www.quickonlinetips.com/archives/2007/11/how-to-create-multiple-dynamic-sidebars-for-wordpress-widgets/
Custom posts are okay, but if you are writing more than 1 custom post per page/post, then it can get quite cluttered...
I think the best option for you would be to build your site based off one of the frameworks of an existing horizontal theme...
Here is the best information I found:
http://wordpress.org/support/topic/horizontal-way-for-wordpress?replies=13
Direct link to the old "horizontal way" theme for wordpress:
http://www.thehorizontalway.com/download/THW_template_0.6.zip
Here is another base theme to base your site off of:
http://wordpress.org/extend/themes/wplatformer
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.