Wordpress Development - php

I have one project of blog site to be developed in wordpress. I have no experience how wordpress works, I read Codex documentation, But didn't find the answer of my questions,
So Project Requirements are ,
1: Post Movie with Thumbnails,Links to Download or Streaming Websites,Genre(Taxonomy),Youtube Movie Trail,
2: User can Like,rate,comment,Add to watch list,Share with friends
3: I have database of more than 3000 Records, I don't want to insert it to the wp_posts Table for some reasons.
4: How to add javascript to Widgets,or Plugin (Maybe it's a stupid Question)
My problem is I don't know what is the write way to do it. There are Two Major things in WP
1: Plugin
2: Widgets
How can i use them in my project ? From Where Should I start First, I have done with the theme Development, And Some Basic Concepts of wordpress Like, Action,Filters. I can create this project easily with the PHP and JS . Don't suggest me any premade wordpress plugin or Widgets, I want to code it myself

What do you mean add javascript to widgets or plugins? You can include javascript by adding it to the Theme of the page.
Most of your development should be on a Theme. A Theme is essentially a collection of different page templates, styling and functions that will be used. Theme can also handle taxonomy and meta data.
Since you have a DB already what you could do is make a page template called "movie" that pulls an ID/Slug and retrieves it from the database to get the relevant information.
Helpful Links:
Taxonomy - http://codex.wordpress.org/Taxonomies
Queuing Scripts - http://codex.wordpress.org/Function_Reference/wp_enqueue_script
WPDB (Database Class) - http://codex.wordpress.org/Class_Reference/wpdb

I think there might be already some themes ready with the functionalities you want. Did you do a search for stock themes? I've come across a few for video/movies displaying with ratings, social sharing, etc. So your development work would reduce significantly.

Related

Is there ability to deploy a wordpress page/pages inside of another engine site

Apprecaite any help on my question.
Lets pretend, I have a internet shop driven on joomla or some another engine. Can i make a part of it on wordpress, for example, the page for every item in the shop? Dont take a look to the oddness of situation :) just want to know is there ability to cross engines. Also, if you can, please recommend manuals.
Have a nice day!
Yes, you can as exhibited in this WordPress Codex page but you will not be able to take advantage of the WordPress URL routing scheme, WordPress themes, plugins or widgets -- not directly -- you'll have to write custom code to use them.
<?php
/* Short and sweet */
define('WP_USE_THEMES', false);
require('./wp-blog-header.php');
?>
You will just have access to the WordPress functions with which you will be able to fetch posts from the DB and then you will be able to write custom PHP code to display those posts.
Obviously displaying plugins or widgets will also become your responsibility -- you'll have to call functions which either render all plugins or fetch a list of plugins/widgets and decide what to do with them.

edit magento navigation without coding

I just recently started working with a Magento site, and so far I'm really not liking it. I need to remove a couple links from the main navigation, but I can't seem to find the option for it. I've googled it numerous times, and all I see are examples for coding the navigation. My question is, can you edit the site navigation like you can with say wordpress? Seeing how it's a cms I'd imagine the user should be able to make changes to the navigation using some type of interface, and without having to pull the files from the server and edit them.
Also just out of curiosity, for anyone experienced with Magento would you say it's a good choice for a cms? I've heard of it before, but haven't seen many sites that use it.
No!, so you have three options here.
Learn how to extend the navigation with the 100's of tutorials out there, it is really not that hard, assuming you have a theme you just have to edit app/design/frontend/[theme]/default/template/page/html/topmenu.phtml
Get an extension to do it for you.
Hire a developer to do it for you, we create a static block with installer for the html which make it slightly more user friendly to update in the future.
Stackoverflow is a bad place to ask questions like this, it is aimed at programmers and doing such a procedure is rudimentary stuff, I really hope you are a client trying to be cheap rather than someone who claims they can run this site.
Edit: The cms features are ok but you need to be able to code to set them all up so the end user can make the changes with WYSIWYG.
If you don't want to code for navigation then you can do below things
1) Create category and then Display Settings=>Display Mode=>static block only and Display Settings=>CMS Block=>static block name. In static block u can include in page url or custom page
2)You need to hire developer
If you're using Magento and have an integrated WordPress blog, it's possible to design a completely custom menu in the WordPress Admin using the menu builder. You have complete control over what menu items you want and the hierarchy of each item.
To get this to work, you need to integrate your WordPress blog using WordPress Integration in full integration mode. Your Magento template also has to be using the default Topmenu block.

How to make Duplicate Posts and Pages in multi sites - Wordpress

I want to make duplicate posts and pages on wordpress either by functions or a plugin, any suggestions.
Also, i want to use these duplicacy for multi site functionality. That is, if i create another site, it may inherit the posts and pages of master site.
You can do this with the built in export/import feature. Under the tools menu in the admin menu you can find these two options. Just export the posts and pages XML file. Then on your new site or multisites you can import that XML file. You'll have an option to download all media on import also, which will bring over the images, PDFs, etc.
Here's the documentation:
http://codex.wordpress.org/Tools_Export_Screen
http://codex.wordpress.org/Tools_Import_Screen
I have a subsite that contains the base setup for a new site.I use the "Multisite Cloner" plugin on the master site to specify that 'template' subsite whenever new subsites are created.
For duplicating posts/pages, you could use the export/import process.
But there is now (4 years later from your question) a plugin that allows you to duplicate a page or post from one subsite to another: Multisite Post Duplicator (https://wordpress.org/plugins/multisite-post-duplicator/ ). I have not used it yet (although I will be testing it soon), but it has good reviews and appears to be maintained.
I add this info now (four years later) because this question came up in a search for a similar need.

Moving data from custom blog to Wordpress?

Ok so i have this custom blog that i now need to move over to wordpress. I tried using the import features in wordpress but that didnt work as planned. The custom blog is written in php and has a userscomments table, authors table, and posts table. Is there an easy way to move all these posts over to wordpress and preserve all the comments per post.
If the custom blog doesn't have an export function that will dump its data into a format WordPress can read, then it may be that you'll have to roll your own. There are 2 approaches:
Do a database-only import, using code or SQL tools along with information from the WordPress Codex entry on the WP database. This will probably be fairly simple from a coding standpoint, but you have to make sure you get it right.
Use the WordPress API to create the posts based on the output from the old system. This will involve a bit more learning, but it's the Right Way™ to do it, and means that you learn the WordPress API rather than the database structure.
If I were doing it myself, I'd choose option #2.

Wordpress Digg-Like Voting System Plugin

I just found out about BuddyPress (a collection of plugins that convert a WordPress MU install into a social network) and now I was wondering if there are any Digg-like voting plugins for WordPress. This would eventually integrate into a BuddyPress website, where the site members would submit, vote and comment on stories (much like Digg).
I have a feeling I will end up having to build this from scratch, but since the site will be built on WordPress, I was wondering if there were any plugins already available that add this functionality. So far I have come up empty in my search. I did find a Wordpress blog that had this functionality WpVote. It even creates thumbnails of the story webpage automatically (I'm assuming) using websnapr. I browsed through the page source and didn't seem to find any hints of a WP plugin that they are using.
I've successfully used TDO Mini Forms for user submissions combined with Vote it up to build a digg-style site.
You can create a "top votes" page using the MostVotedAllTime_Widget() function from Vote it up, or use the SortVotes() or GetVoteArray() functions to build and style your own top votes list in a customised page template.
You'll find the full list of available functions in /vote-it-up/votingfunctions.php
BuddyPress Links is what you're looking for:
http://wordpress.org/extend/plugins/buddypress-links/
Or you can try:
Pligg Voting CMS
when i was start to build my own social bookmarking, i using voteitup plugin but if you want to build your own vote button you can visit bavotasan.com and search post "simple-voting for-wordpress-with-php-and-jquery"
take a look at my own social bookmarking using it : http://nestdev.com
http://prothemedesign.com/themes/nominate-for-wordpress/
is a premium theme I've come across but never used. It's a WP version of Digg and I believe pretty good.
Personally I use Drigg which is a Drupal version of Digg. See it in action here: http://weblinks.myfriendshotel.com Unfortunately, however, WebSnapr have just changed their code so the site is no longer showing thumbanails but hopefully as a 'non-programmer' I'll find a solution soon...
Is this what you're after?
http://www.tevine.com/projects/voteitup/
I think [wpvote][1] use drigg module for drupal. I've just found buddypress plugin which has similiar function like digg social bookmarking. more detail
Not sure if this is still relevant or not but the theme used for WPVote.com has now been released on Pro Theme Design - http://prothemedesign.com/themes/nominate-for-wordpress/

Categories