Add Image upload interface in wordpress - wordpress

I'm working on wordpress. And has this kind of requirement, where I need to have an ability in admin panel for administrator wherein he can upload an image. This image will be used at two places in the theme.
I've tried to figure out this, and found that image url can be store in options table and can be used in the theme to retrieve the image.
But not sure how to give an interface for that in admin panel. Any idea to achieve that will be great.

Is it not possible to use the built in Custom Header image system? I don't really know all of your requirements but there is no reason to build something if you can co-opt something instead. :) Granted, it is called a "header" but it really doesn't have to be. Where it shows up depends entirely on the theme. If that doesn't work for you, you've got a considerably more complicated project but you'd probably want a Theme Options page.

Go to your wordpress panel-> plugins:
install plugin named: Custom Upload
Or your can download it from :
http://wordpress.org/extend/plugins/custom-upload/
A simple plugin to upload any type of image in wordpress.
I think you can use it to manage your images of theme.
And that's it, good luck.

Related

No access to the WordPress appearance panel

I am struggling with one thing I am not so into and any extra help could help.
I just received the WordPress website from the design company. The agreement was to make it editable, change more than just a content by the time. After the end of cooperation, I started to edit some parts of the website but there is no such an option as Appearance in my Wordpress option panel. I asked the developer how can I change basic CSS of some elements on the website but he argued that it is restricted to change any HTML or CSS because it might cause some errors in the code after rewriting it. I get it, but there should be another way to get to the files, how else I could style the new elements? Is there a no way to add Appearance option to the panel? I am not the expert, it just seems too unrealistic for me to say: it is restricted because of this and that and there is no way to add it. Any experience with that, please? Do we have to find Wordpress developer to go through it, or it is just the fact that I can not edit it anymore?
Thank you for any comment!
Best regard,
Miroslava
You can easily edit any wordpress appearance by edit the theme, take a look into wp-content/themes, there should be the files of the theme usually php and css files

Dynamic options in Options Framework Theme

I'm using this plugin options to put my subject, I make a slide of photos, but do not want to set a limit of photos, would be added as needed, any idea how to do it?
Your safest bet here would be to create a custom post type that feeds the slide of photos as opposed to theme options. The customizor framework as it stands is temperamental and is used more as a user interface for previewing layout and styling changes.
http://www.layerswp.com/ is a theme that allows what you are looking for, but it is not the usual practice as it stands now.
With that being said there are plugins available that might be able to do what you are asking. The best one that I have found is Kirki (http://wptavern.com/kirki-a-free-plugin-to-style-the-wordpress-customizer-and-add-advanced-controls).

How to style Directory Listings XAMPP

So using XAMPP, it shows a list of folders and files that are hosted locally on my machine. So far, it shows all of these directories in a simple, plain list. What I'd like to do is to be able to use CSS to style it. This may sound confusing so here's some images explaining what I am trying to accomplish.
to...
It is possible to do this because I downloaded a theme for it a while back, I am having trouble trying to find it again so I was windering, if someone out there knows where it is, it would be much appreciated if you would send me the link :)
Here is a tutorial devoted to customizing directory listings:
http://perishablepress.com/better-default-directory-views-with-htaccess/
It shows exact what actions to perform in order to customize it. So shouldn't be too hard to follow.
Sadly, I'm unable to find the style you provided. So I will update this reply in-case I have.
Here are some other nice directory listing styles:
https://github.com/meodai/mod_autoindex.oh
http://adamwhitcroft.com/apaxy/
https://github.com/search?utf8=%E2%9C%93&q=mod_autoindex&type=Repositories&ref=searchresults
You can use the built-in functionality of Apache’s mod_autoindex module to style and enhance your default directory views.
You can go through this link
It has a very detailed description for changing and customizing the views the way you want them to be.
You can customize the icons as well as the css.

Do I have to Upgrade WordPress to "pro" if I want to edit the CSS?

I started using WordPress just a few hours ago because I need to develop a couple of blogs to a client. I understand that WordPress is the best solution if you want something fast but flexible. But, the first thing that I wanted to do was just change the font of the post and I didn't find how to do it (for all the posts, because I changed it on this one using the HTML editor). I've read something about editing the CSS, but it turns that I need to buy the Pro upgrade to be able to use the custom design.
Is this the same if I use WordPress in my server?
I need someone to guide me on this one. I need WordPress as customizable as it can be. But, I prefer not to pay! :) Unless that's the only way to do it.
If you use WordPress on your own server, you can do anything you like to it - it's open source. The "Pro" upgrade is just for WordPress blogs hosted on the commercial WordPress.com platform.
Do note that running your own installation means you're responsible for adding plugins, themes, keeping the code up-to-date, etc. That has a cost too, even if it's not money directly out of your pocket.
If you are using wordpress on your own server - you are free to do anything with it. The best way to customize your site then is using a child theme. It will contain your customization, overriding styles from previously loaded parent theme (and/or adding some scripts). You will be able to upgrade parent theme then without loosing your customization (until parent theme owners deprecate something you use, but it must not happen often). There are some plugins for simplifying working with it as well. There are also some easier customization ways, if you want just minor changes - such as Custom CSS in Jetpack plugin, which works in similar way, as far as I know.
If you're using a wordpress.com account, you have less freedom in modifying things, consider using paid custom CSS plugin maybe. Or maybe mentioned above jetpack will do.
Also, as mentioned in other answers - there are wordpress codex, wordpress.org forums, and wordpress stackexchange, they seem to be better place for such questions.
In your wordpress admin section of your site (usually www.yourdomain.com/wp-admin) on the left hand side nav bar, you will find a section called "appearance", if you expand this and click "editor" you can edit all of the files that your current theme uses. A quick warning, if you are doing this on a live server, the changes you make are live as soon as you save them!!
Hope this helps
I'm pretty sure you do not have to pay to customize CSS. Check your server installation... particularly in the folder $wordpress_install_home/wp-content/themes/default.
You should have access to all the CSS files in there.

Custom Wordpress Editor?

After looking around for hours I couldn't see anything even close to what I saw here:
http://www.youtube.com/watch?v=Y2Bu5NoYZ7M&feature=player_embedded
As you can see, they created a custom editor for Wordpress (not just some edits to TinyMCE), its a whole different editor even with an option to switch back to TinyMCE.
Does anyone know how to create custom editors for wordpress without altering the core files and just via a custom theme? I am starting to think its a custom meta box...but I am not sure.
Any clue will be much appreciated!
I suggest to use a plugin to extend the default tinymce WP uses.. Take a look at this plugin: http://wordpress.org/extend/plugins/wp-super-edit/screenshots/
If you really want a completely different editor, ckeditor is quite ok.. There is a plugin too: http://wordpress.org/extend/plugins/ckeditor-for-wordpress/screenshots/
Always use or write a plugin an don't change any core files is indeed the way to go!
Please let me know what you think!

Resources