Wordpress Theme Development

WordPress Themes

Συντονιστές: WebDev Moderators, Super-Moderators, PHP Moderators

Απάντηση
Άβαταρ μέλους
cordis
Administrator, [F|H]ounder, [C|S]EO
Δημοσιεύσεις: 27620
Εγγραφή: 09 Οκτ 1999 03:00
Τοποθεσία: Greece
Επικοινωνία:

Wordpress Theme Development

Δημοσίευση από cordis » 14 Οκτ 2008 00:13

Πόσοι ξέρετε από wordpress theme development.

Βασικά με ενδιαφέρει να μάθω πόσοι ξέρουν να φτιάχνουν ένα πλήρες γραφικό θέμα για το wordpress με όλα τα νέα καλούδια που έχουν οι τελευταίες εκδόσεις του. Όπως widgets, tags, κ.τ.λ. Για να μπορέσουμε να ανταλλάξουμε απόψεις πάνω στην κατασκευή τους.
Δεν απαντάω σε προσωπικά μηνύματα με ερωτήσεις που καλύπτονται από τις ενότητες του forum. Για ο,τι άλλο είμαι εδώ για εσάς.
- follow me @twitter

Άβαταρ μέλους
Basilakis
PHP Moderator
Δημοσιεύσεις: 8574
Εγγραφή: 17 Νοέμ 2003 13:03
Τοποθεσία: Womans' Brain
Επικοινωνία:

Wordpress Theme Development

Δημοσίευση από Basilakis » 14 Οκτ 2008 00:57

Ορίστε ένας κατάλογος απο Links που έχω μαζέψει εγώ με τους καιρούς, ίσως βοηθήσει κάποιους σε ένα learning lesson :_)


PRO PLUGINS: http://yoast.com/wordpress/

http://www.problogdesign.com/

http://wpcandy.com/articles/tutorials/t ... sheet.html - Help sheet

Wordpress Settings print out: http://codex.wordpress.org/Template_Tags/get_bloginfo

Templates info: http://codex.wordpress.org/Template_Tags/

WordPress Template Hyrarchacy: http://codex.wordpress.org/Template_Hierarchy

WordPress CSS: http://codex.wordpress.org/CSS

WOrdPress SEO: http://codex.wordpress.org/Search_Engin ... _Wordpress

WordPress MetaTags: http://codex.wordpress.org/Meta_Tags_in_WordPress

WordPress Design and Layout: http://codex.wordpress.org/Blog_Design_and_Layout

WordPress Theme development: http://codex.wordpress.org/Theme_Development

WordPress php Fuctions: http://codex.wordpress.org/Function_Reference

WordPress Following COde Standars: http://codex.wordpress.org/WordPress_Coding_Standards

WordPRess Writting a Plugin: http://codex.wordpress.org/Writing_a_Plugin

WordPress Plugin Ressources: http://codex.wordpress.org/Plugin_Resources

WordPress - Pirinas: http://codex.wordpress.org/The_Loop_in_Action

Wordpress Loop: http://codex.wordpress.org/The_Loop

Wordpress Blogroll: http://codex.wordpress.org/Template_Tag ... inksbyname and http://codex.wordpress.org/Template_Tag ... Parameters

http://codex.wordpress.org/Author_Templ ... nformation

http://codex.wordpress.org/Template_Tags/query_posts

Usefull Wordpress Plugins Article: http://www.webdesignerwall.com/general/ ... s-plugins/

WordPRess Alternative colors @ comments: http://www.tamba2.org.uk/wordpress/altcomments/

Styling your wordpress comments: http://www.darrenhoyt.com/2007/08/18/st ... -comments/

WordPRess Author page: http://www.ditii.com/2007/07/01/making- ... thor-page/

Tags: http://codex.wordpress.org/Template_Tags/the_tags

Templates coding: http://needforcontent.com/wordpress-template-tutorial

Create a wordpress Plugin: http://www.wpdesigner.com/2007/02/19/so ... hemes-huh/

Login to sidebar: http://www.wpdesigner.com/2007/07/09/ho ... e-sidebar/

how to highlight author comments: http://www.mattcutts.com/blog/highlight ... wordpress/

Style Author comments: http://www.tsevdos.com/2008/05/27/styli ... s-com-way/

Next Previous LInks: http://codex.wordpress.org/Template_Tag ... _post_link


http://codex.wordpress.org/Function_Ref ... ntuserinfo

http://codex.wordpress.org/Function_Ref ... _logged_in

http://codex.wordpress.org/Function_Ref ... t_userdata

http://codex.wordpress.org/Function_Ref ... ernumposts

Comming up posts: http://nettuts.com/working-with-cmss/bu ... wordpress/

Magazine like: http://nettuts.com/working-with-cmss/bu ... framework/

Newspaper style: http://nettuts.com/html-css-techniques/ ... nd-jquery/

Comments Validation: http://nettuts.com/javascript-ajax/addi ... ng-jquery/

Tabbed menu: http://nettuts.com/javascript-ajax/crea ... ng-jquery/

Paypal donate form: http://nettuts.com/html-css-techniques/ ... ment-form/

Show Author picture: http://themetation.com/how-to-display-a ... -wordpres/

Highlight author comments: http://www.mattcutts.com/blog/highlight ... wordpress/

Giving each WordPress post a thumbnail, and display the thumbnail on the home page: http://wordpressgarage.com/tips/giving- ... home-page/

WordPress date button: http://www.wpdesigner.com/2007/06/04/wo ... te-button/

Seperate comments and trackbacks: http://www.problogdesign.com/how-to/sep ... -comments/

Login form to sidebar: http://www.wpdesigner.com/2007/07/09/ho ... e-sidebar/

Facebook status to wordpress: http://www.hongkiat.com/blog/how-to-dis ... ress-blog/

Asides: http://codex.wordpress.org/Adding_Asides

Costum fields adding images to posts: http://justintadlock.com/archives/2007/ ... s-to-posts

About author after every post: http://justintadlock.com/archives/2008/ ... ars-part-2

Add costum field image in every post: http://www.noupe.com/wordpress/most-des ... fixes.html

Show Adds after first loop: http://hackwordpress.com/how-to-display ... -the-loop/

Costum fields: http://devsnippets.com/wordpress/using- ... press.html

Wordpress conditional formating: http://impresslab.com/design/conditiona ... wordpress/

Latest comments and most commented posts: http://stylizedweb.com/2008/06/20/grab- ... -database/

Getting all posts between two dates: http://benjaminsterling.com/wordpress-g ... -to-dates/

Welcome the Guest commenter: http://ifohdesigns.com/blog/tutorials/w ... ack-script

Count feed numbers: http://stylizedweb.com/2008/02/04/plane ... eed-count/

http://stylizedweb.com/2008/05/10/plain ... ous-count/: delicious count

Digg count: http://stylizedweb.com/2008/04/09/styli ... igg-count/

Multiple tag / category queries: http://wpguy.com/tips/multiple-tag-category-queries/ (http://yourblog.com/tag/music+apple)

How to use initial caps in your WordPress theme:http://wpguy.com/tutorials/how-to-use-i ... our-theme/

Tag Cloud Page: http://wpguy.com/tutorials/how-to-make- ... loud-page/

Category Feeds: http://wpguy.com/tips/category-feeds/

@tag at comments: http://wpguy.com/tutorials/styling-the- ... t-replies/

http://nettuts.com/javascript-ajax/addi ... ng-jquery/

http://themetation.com/how-to-display-a ... -wordpres/

http://nettuts.com/javascript-ajax/buil ... th-jquery/

Wordpress Comment.php file: http://nettuts.com/news/unraveling-the- ... sphp-file/

Remove some categories from the loop: http://bloggercamp.com/blogging-tips/bl ... wordpress/

2 sides wordpress menu: http://www.darrenhoyt.com/2008/02/12/cr ... wordpress/

Wordpress as a membership directory: http://www.wpdesigner.com/2008/03/01/ho ... directory/

Widget footer for wordpress: http://help-developer.com/index.php/200 ... wordpress/

Using wordpress costum fields: http://justintadlock.com/archives/2007/ ... troduction

Archives pages tutorial: http://www.puttingblogsfirst.com/how-to ... -that-rock

Validating COmments with Jquery: http://nettuts.com/javascript-ajax/addi ... ng-jquery/

Wordpress archive page: http://www.noupe.com/wordpress/wordpres ... ugins.html

Print category RSS: http://customthemedesign.com/displaying ... /#more-242


Allowed tags:

Κώδικας: Επιλογή όλων

<?php echo allowed_tags&#40;&#41;; ?>


Display Categories in a Drop Down menu
---------------------------------------

Κώδικας: Επιλογή όλων

<form action="<?php bloginfo&#40;'url'&#41;; ?>/" method="get">
    <?php
	  $select = wp_dropdown_categories&#40;'show_option_none=Select Category&show_count=1&orderby=name&echo=0&selected=6'&#41;;
	  $select = preg_replace&#40;"#<select&#40;&#91;^>&#93;*&#41;>#", "<select$1 onchange='return this.form.submit&#40;&#41;'>", $select&#41;;
	  echo $select;
	?>
    <noscript><input type="submit" value="View" /></noscript>
</form>
-------------------------------------------

Show certain Categories in wordpresS:
--------------------------------------

Κώδικας: Επιλογή όλων

<ul class="topmenubar" style="float&#58;left; width&#58;720px;">
<?php wp_list_categories&#40;'orderby=name&include=7,72,23,16,1,7,17,26'&#41;; ?>
</ul>
---------------------------------------




User Register:
---------------------------------------------

Κώδικας: Επιλογή όλων

<li>
		<?php global $user_ID, $user_identity, $user_level ?>
		<?php if &#40; $user_ID &#41; &#58; ?>
		<h2>Control panel</h2>
		<ul>
			<li>Identified as <strong><?php echo $user_identity ?></strong>.
			<ul>
				<li><a href="<?php bloginfo&#40;'url'&#41; ?>/wp-admin/">Dashboard</a></li>

				<?php if &#40; $user_level >= 1 &#41; &#58; ?>
				<li><a href="<?php bloginfo&#40;'url'&#41; ?>/wp-admin/post-new.php">Write an article</a></li>
				<?php endif // $user_level >= 1 ?>

				<li><a href="<?php bloginfo&#40;'url'&#41; ?>/wp-admin/profile.php">Profile and personal options</a></li>
				<li><a href="<?php bloginfo&#40;'url'&#41; ?>/wp-login.php?action=logout&amp;redirect_to=<?php echo urlencode&#40;$_SERVER&#91;'REQUEST_URI'&#93;&#41; ?>">Exit</a></li>
			</ul>
			</li>
		</ul>

		<?php elseif &#40; get_option&#40;'users_can_register'&#41; &#41; &#58; ?>

		<h2>Identification</h2>
		<ul>
			<li>
			<form action="<?php bloginfo&#40;'url'&#41; ?>/wp-login.php" method="post">
				<p>
				<label for="log"><input type="text" name="log" id="log" value="<?php echo wp_specialchars&#40;stripslashes&#40;$user_login&#41;, 1&#41; ?>" size="22" /> User</label><br />
				<label for="pwd"><input type="password" name="pwd" id="pwd" size="22" /> Password</label><br />
				<input type="submit" name="submit" value="Send" class="button" />
				<label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label><br />
				</p>
				<input type="hidden" name="redirect_to" value="<?php echo $_SERVER&#91;'REQUEST_URI'&#93;; ?>"/>
			</form>
			</li>

			<li><a href="<?php bloginfo&#40;'url'&#41; ?>/wp-register.php">Register</a></li>
			<li><a href="<?php bloginfo&#40;'url'&#41; ?>/wp-login.php?action=lostpassword">Recover password</a></li>
		</ul>

		<?php endif // get_option&#40;'users_can_register'&#41; ?>

	</li>
---------------------------------------------------------------------------------------


GIA TA IMAGES MESA STA POSTS APO TO 2.6 kai meta

Στην νέα έκδοση 2.6 του wordpress υπάρχει πρόβλημα στην στοίχιση των εικόνων, δεν τοποθετεί δηλαδή την εικόνα μέσα στο κείμενο του post.

Το συγκεκριμένο πρόβλημα μπορεί να διορθωθεί τοποθετώντας τον παρακάτω κώδικα στο style.css

Κώδικας: Επιλογή όλων

.aligncenter,
div.aligncenter &#123;
display&#58; block;
margin-left&#58; auto;
margin-right&#58; auto;
&#125;
.alignleft &#123;
float&#58; left;
&#125;
.alignright &#123;
float&#58; right;
&#125;
.wp-caption &#123;
border&#58; 1px solid #ddd;
text-align&#58; center;
background-color&#58; #f3f3f3;
padding-top&#58; 4px;
margin&#58; 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius&#58; 3px;
-khtml-border-radius&#58; 3px;
-webkit-border-radius&#58; 3px;
border-radius&#58; 3px;
&#125;
.wp-caption img &#123;
margin&#58; 0;
padding&#58; 0;
border&#58; 0 none;
&#125;
.wp-caption p.wp-caption-text &#123;
font-size&#58; 11px;
line-height&#58; 17px;
padding&#58; 0 4px 5px;
margin&#58; 0;
&#125;
Ο παραπάνω κώδικας δούλεψε στο theme μου μιά χαρά...
Εάν δεν δουλέψει στο δικό σας theme μπορείτε να ψάξετε στο διαδίκτυο για εναλακτικές λύσεις κώδικα που θα ταιριάζουν στην περιπτωσή σας.

Σε κάθε περίπτωση το πρόβλημα αυτό λύνεται

--------------------------------------------------------------------------------------------------------------------------------

Απάντηση

Επιστροφή στο “WordPress Themes”

Μέλη σε σύνδεση

Μέλη σε αυτήν τη Δ. Συζήτηση: Δεν υπάρχουν εγγεγραμμένα μέλη και 0 επισκέπτες