Wordpress Hack #10: 9 Things You can do with Categories WordPress المأجور رقم 10 : 9 امور يمكنك القيام به مع الفئات
1,115 views - 1.115 آراء --Posted in: نشر في :
1,115 views 1.115 آراء
Please note: This page was originally written in English. يرجى ملاحظه : هذه الصفحه كان في الأصل كتب في English.
The original post can be viewed الاصلي ويمكن النظر الى ما بعد here هنا .
Please note: This page was originally written in English.
The text has been translated using an online service such as Google or Babelfish.
The original post can be viewed here.
Do you use your Wordpress categories to their fullest potential? هل تستخدم WordPress الفئات الخاصة بك الى اقصى امكاناتها؟ I’m going to show you 9 different ways to hack your Wordpress categories into shape! انا ذاهب الى تبين لكم 9 طرق مختلفة لفئات WordPress المأجور الخاص بك في شكل!
This is day #10 of وهذا هو اليوم لل# 10 30 Wordpress Hacks in 30 Days 30 WordPress المأجورون في 30 يوما !
So you have your categories listed in the sidebar of your blog like everybody else. لديك حتى للفئات المدرجه في الشريط الجانبي الخاص بك بلوق مثل أي شخص آخر. I’m going to show you 9 more things you can do with Wordpress categories that will be better for you AND your blog. انا ذاهب الى تبين لكم 9 مزيد من الاشياء يمكنك القيام به مع WordPress الفئات التي ستكون افضل لديك ولدى بلوق. At the same time, customizing your blog with these hacks will begin to set it apart and make it different than all the “cookie-cutter” blogs in the blogopshere. وفي الوقت نفسه ، وتكييف الخاص بك بلوق مع هذه المأجورون وستبدأ مجموعة لأنها الى جانب وجعله مختلفا عن كل "كوكي القاطع -" بلوق في blogopshere.
Top Level Categories : In Wordpress when you create a category, it has to have a preface like www.site.com/category/news. المستوى الاعلى فئات : في WordPress عندما تقوم بإنشاء فئة ، وقد يكون مقدمة لمثل www.site.com / الفئة / الاخبار. In the “Permalinks” section of your options or settings in your WP dashboard you can change your “category base”, but that’s only to change it from the default “category” to another word you choose. في "permalinks" قسم خياراتك او اعدادات في لوحة التحكم الرئيسية الخاصة بك رزمه العمل يمكنك تغيير فئة "القاعده" ، لكن ذلك فقط لانه من تغيير الافتراضي "من الفئة" الى كلمة اخرى تختارها. There is (ridiculously) no way to remove it entirely and just have a category be www.site.com/news. وهناك (للغاية) ، ولا سبيل الى ازالته تماما ومجرد ان فئة www.site.com / الاخبار. With the مع Top Level Categories Plugin المستوى الاعلى فئات البرنامج المساعد installed, it strips out the “category” so your category names CAN be top level all the time. تركيب ، شرائط بها "فئة" الفئة الخاصة بك حتى الاسماء يمكن ان تكون اعلى مستوى في كل وقت.
Folding Category List : Maybe you’re tired of that list of linked categories hogging up a bunch of your sidebar real estate on your blog. قائمة للطي الفئة : ربما انت تعب من ان قائمة الفئات المرتبطه القص اقامة مجموعة من العقارات الخاصة بك على الشريط الجانبي الخاص بك بلوق. If so, maybe you would be interested in trying to display them using the إذا كان الأمر كذلك ، ربما أنت ستكون مهتمة في محاولة منها لعرض باستخدام Folding Category List Wordpress Plugin قائمة الفئات للطي وردبريس البرنامج المساعد instead. بدلا.
Multi-Column Category List : If you’re trying to create a simple sitemap and you just want a page with multiple categories listing your posts, the متعدد العمود قائمة الفئات : اذا كنت يحاول ان يخلق بسيطة خريطه الموقع وكنت ترغب فقط في صفحة قائمة فئات متعددة الوظائف الخاصة بك ، Multi-Column Category List Plugin for Wordpress متعدد العمود فئة قائمة البرنامج المساعد لWordPress may be just what you need. قد يكون ما تحتاج إليه فقط.
Latest Posts from Each Category : If instead you’re creating a theme with an aside or block of recent posts for a page, header, footer, or anywhere - you can use the آخر وظائف كل فئة من فئات : اذا كنت بدلا من انشاء الموضوع جانبا او مع كتلة الاخيرة لصفحة الوظائف ، وعلى رأس الصفحه وذيلها ، او في اي مكان -- يمكنك إستخدام Latest Posts from Each Category Wordpress Plugin آخر وظائف كل فئة من فئات ووردبريس البرنامج المساعد for that, and it has all kinds of formatting options, as well as comment counts, dates, and more. لذلك ، وقد شكل كل انواع الخيارات ، فضلا عن تعليق التهم ، التمور ، واكثر من ذلك.
Author Assigned Categories : If you have multiple authors in your Wordpress blog this plugin will be helpful to you. المؤلف المسنده فئات هي : اذا كان لديك عدة مؤلفين بلوق WordPress الخاص بك في هذا البرنامج المساعد سيكون مفيدا لك. You can assign certain categories to certain authors so that they won’t be able to post in categories you don’t want them to. يمكنك تخصيص فئات معينة لبعض المؤلفين ذلك انها لن تكون قادرة على وظيفة في الفئات كنت لا تريد ل. It works with “user levels” so you could assign say the “news” category to only “reporters”, etc. Very helpful if you have an admin, editor, and then some writers - all with different roles or permissions. وهي تعمل مع "مستوى المستخدم" هل يمكن ان نقول اسناد "الاخبار" فقط لفئة "الصحافيين" ، وغير ذلك من المفيد جدا اذا كان لديك مشرف ، رئيس تحرير ، ثم ان بعض الكتاب -- مع جميع الادوار المختلفة او الاذونات.
Category Icons : Lots of other blogging platforms have the ability to assign little pictures or “icons” to categories that you can use in your posts or the sidebar. الفئة الايقونات : الكثير من المدونات الاخرى منصات لديها القدرة على اسناد قليلا او صور "ايقونات" الى الفئات التي يمكنك استخدامها في رسائلك او الشريط الجانبي. Wordpress does not. WordPress لا. That’s why I wrote the post لهذا السبب كتبت في ما بعد Very Easy Wordpress Theme Hack: Show Category Images من السهل جدا WordPress المأجور الموضوع : عرض صور فئة , which involves uploading the images in FTP yourself to a directory you create and then inserting some PHP code in your template files. الذي ينطوي على تحميل الصور في نفسك بروتوكول نقل الملفات الى دليل وبعد ذلك تقوم بانشاء ادخال بعض بي. اتش. بى مدونة في ملفات القالب. The ال Category Icons Wordpress Plugin الفئة الايقونات ووردبريس البرنامج المساعد automates all that nonsense, and even has additional options that hack couldn’t provide. آليا كل ذلك هراء ، وحتى الخيارات الاضافيه التي قد لا تستطيع ان تقدم المأجور. Now it’s easy to upload and assign images to all your wordpress categories. الان لانها سهلة لتحميل الصور واسناد كل ما تبذلونه من WordPress الى فئات.
Category Pages : This plugin can solve all the worries of many people that have been commenting on my الفئة صفحات : هذا البرنامج المساعد يمكن ان يحل كل هموم كثير من الناس التي تم التعليق على بلدي Better SEO and $$$ with WP Category Templates وافضل سيو $ $ $ الفئة رزمه العمل مع القوالب post. ما بعد. I wrote that post because it was the first way I figured out to place original content on every category page for better search indexing. كتبت في هذا المنصب لأنه كان أول الطريق الأول وردت الى المكان الأصلي المحتوي على كل صفحة هذه الفئة لأفضل بحث والفهرسه. In entailed creating a separate category template file for every category with a few paragraphs of original content in each. في ينطوي على خلق نموذج فئة منفصلة عن كل فئة الملف مع بضع فقرات من المحتوى الأصلي في كل منهما. If you switch themes, you might have to rewrite them - it was a solution, but also a big hassle. اذا قمت بالتحويل المواضيع ، وكنت قد تضطر الى إعادة كتابة لها -- وكان الحل ، وانما ايضا كبير الازعاج. With the مع Category Page Wordpress Plugin صفحة هذه الفئة ووردبريس البرنامج المساعد , it allows you to “write” a Wordpress page and then “assign” it to a category. ، يسمح لك "كتابه" WordPress الصفحه ، ثم "تخصيص" لهذه الفئة. So basically, then this plugin puts the contents of this page at the top of whatever category you assign it to. ذلك اساسا ، ثم يضع هذا البرنامج المساعد محتويات هذه الصفحه على رأس وايا كانت الفئة لكم ان يسند الي. I don’t think that this is the best solution - but it is a solution that’s better than the original one I had. ولا اعتقد ان هذا هو الحل الامثل -- وانما هو حل ذلك على نحو افضل مما كان لي الأصل واحد. I will give you other options to this coming up. وسأعطيكم خيارات اخرى لهذا الخروج. I have not installed this plugin, and the thing that I question is whether or not all the pages will show in the “Pages” section of your sidebar. انني لم تركيب هذا البرنامج المساعد ، والشيء الاول ان السؤال هو ما اذا كان أو لا كل صفحات يظهر في "صفحات" قسم الشريط الجانبي الخاص بك. You could easily exclude all the ones you created to associate with categories, but that could be very tedious. هل يمكن بسهولة استبعاد كل منها كنت قد صنعت مع المنتسبين الى فئات ، لكن ذلك لا يمكن ان تكون ممله جدا.
Page Category Plus : This is a unique plugin that could be confused with the Category Pages one, but it does yet something different. الصفحه الفئة مضافا اليها : هذا هو البرنامج المساعد فريدة من نوعها التي يمكن الخلط بينه وصفحات فئة واحدة ، ولكنه حتى الآن شيء مختلف. The ال Page Category Plus Wordpress Plugin الصفحه فئة زائد ووردبريس البرنامج المساعد allows you to assign categories to Pages. يسمح لك لتحديد الفئات صفحة. You know how you get to choose categories whenever you write a post, but you don’t have that choice when you write pages? أنت تعرف كيف تحصل على اختيار فئات كلما تكتب بعد ، ولكن لم يكن لديك هذا الخيار عندما تكتب صفحة؟ Now you have that ability once this plugin is installed. الآن لديك القدرة على ان هذا البرنامج المساعد مرة واحدة مثبتة. So if I install this plugin and assign my حتى اذا كنت تثبيت هذا البرنامج المساعد واسناد بلادي 30 Wordpress Hacks in 30 Days 30 WordPress المأجورون في 30 يوما “page” to my "الصفحه" لبلادي Wordpress Category الفئة WordPress - it will show up on the same page as my posts now. -- سوف تظهر على الصفحه نفسها وظيفة لي الآن. WOW - will this plugin make my job of organizing this (and other) blogs a whole lot EASIER! نجاح -- سوف اجعل هذا البرنامج المساعد للعمل على تنظيم هذه (وغيرها) بلوق برمته اسهل كثيرا!
Manage Category Descriptions : This is IMHO “the solution” to having original content on category pages for good SEO and more indexed pages. ادارة وصف الفئة : imho هذا هو "الحل" بعد ان المحتوى الأصلي على صفحات الفئة الجيدة لسيو وفهرسة اكثر صفحات. In your Wordpress dashboard go to “Manage -> Categories” and then click on that category to edit it. في لوحة التحكم الرئيسية الخاصة بك WordPress اذهب الى "ادارة --> الفئات" ثم انقر على تحرير لتلك الفئة. Give your category a “description”. قم الفئة الف "الوصف". Next, if you created any category templates like category-6.php, delete them. وبعد ذلك ، اذا كنت قد صنعت نماذج مثل أي فئة من فئات الفئة - 6.php ، حذفها. And then on your archive.php (or cateogry.php if you have one) find this section of the code: وبعد ذلك على archive.php الخاص بك (cateogry.php او اذا كان لديك واحد) العثور على هذا الفرع من القانون على انه :
<?php /* If this is a category archive */ if (is_category()) { ?> <h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2> <؟ بي. اتش. بى / * اذا كان هذا هو أرشيف تصنيف * اذا كانت الاجابه ب (is_category ()) (؟> <h2class="pagetitle"> ارشيف ل'<؟ بي. اتش. بي أردد single_cat_title () ؛؟>' الفئة </ H2> That’s the part of the template that say “if this is a category page, then show the title”. هذا الجزء من القالب التي تقول "اذا كان هذا هو فئة الصفحه ، ثم عرض بعنوان". Well, all you have to do is paste in one line of code directly below that to print the description for the category out: حسنا ، كل ما عليك فعله هو لصق في سطر واحد من دون ان قانون مباشرة لطباعة وصف بها بالنسبة لهذه الفئة :
<?php /* If this is a category archive */ if (is_category()) { ?> <h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2> <?php echo category_description(); ?> <؟ بي. اتش. بى / * اذا كان هذا هو أرشيف تصنيف * اذا كانت الاجابه ب (is_category ()) (؟> <h2class="pagetitle"> ارشيف ل'<؟ بي. اتش. بي أردد single_cat_title () ؛؟>' الفئة </ H2> <؟ بي. اتش. بي أردد category_description () ؛؟> Of course, you don’t repeat those first two lines, you just copy the third one for the description in your template. وبطبيعة الحال ، كنت لا نكرر تلك السطرين الأولين ، انت فقط نسخة الثالثة لوصف واحد في القالب. You can also put it in a div, style it, give it a border or background color to make it stand out, etc. I personally believe that this is a much better way to display original content on category pages than either a plugin or individual templates, because it doesn’t have to create any extra pages or template to worry about. يمكنك ايضا وضعها في div ، النمط ، واعطائها للحدود او لون الخلفية لجعلها تقف ، وما انا شخصيا نعتقد ان هذا هو افضل بكثير وسيلة لعرض المحتوى الأصلي على صفحات الفئة سواء من الافراد او البرنامج المساعد النماذج ، لانه ليس لديه لانشاء صفحات إضافية أو أي قالب تقلق. In addition, you could use the descriptions for other things on your blog in other places if you wanted. وبالاضافة الى ذلك ، يمكنك ان تستعمل لوصف الاشياء الاخرى الخاصة بك على بلوق في اماكن اخرى اذا كنت تريد.
I hope that you derived some benefit from my category hacks - and may your chisel your Wordpress blog into more of “your own” each and every day. ارجو ان تستمد بعض من الاستفادة من بلادي الفئة المأجورون -- وايار / مايو الازميل الخاص بك بلوق WordPress الخاصة بك الى المزيد من "الخاصة بك" كل يوم. Once again, if you have anything to add to make this hack page any better, or a question - please comment now! ومرة اخرى ، اذا كان لديك أي شيء لاضافة لجعل هذه الصفحه اي افضل المأجور ، او سؤال -- يرجى التعليق الآن!
Tags: العلامات : wordpress-hacks WordPress - المأجورون




















May 1st, 2008 at 7:58 am اول ايار / مايو ، 2008 في الساعة 7:58
I get random emails about updates on comments and last night was one of them. احصل على رسائل البريد الالكتروني العشوائي عن التحديثات على التعليقات والليلة الماضية كان واحد منهم. . . seen the added comment about categories and I see you’ve ran with it! واضاف شاهد تعليق حول الفئات وارى ان كنت قد يتعارض معها!
Using the description is one of those obvious and brilliant things we’ve all over looked! تستخدم في وصف واحد من هذه الأمور واضحة وراءعه لقد قمنا في جميع انحاء النظر! This certainly makes it a lot easier to keep track of things. ومن المؤكد ان هذا يجعل من الأسهل كثيرا على تتبع الاشياء. I liked the idea the commenter had about using setting up your description in your favorite html editor and just paste the code it. أحببت فكرة فإن المعلق قد وضع حول استخدام الوصف الخاص بك في المفضلة لديك لغة تأشير النص الفائق التحرير وألصق الشفره فقط. Works great. بشكل رائع.
I spoke with the author of the category page plugin. تكلمت مع صاحب البلاغ من الفئة صفحة البرنامج المساعد. He’s trying to add functions for tags in his next update. انه محاولة لاضافة وظائف للعلامات في التحديث القادم. However, the new way of using the description makes the current plugin obsolete. ومع ذلك ، فان استخدام طريقة جديدة لوصف يجعل البرنامج المساعد الحالى عفا عليه الزمن. One less plugin is always good for me البرنامج المساعد واحد هو دائما اقل من جيد بالنسبة لي![= []](http://www.jtpratt.com/wp-includes/images/smilies/11.gif)
So. لذلك. . . who’s the genius that’s going to provide the next brilliant way to add content to the tags??? من 'sعبقريه ان يجري تقديم المقبلة بطريقة ذكية لاضافة محتوى الى العلامات؟؟؟
thx تشك
Charles تشارلز
May 1st, 2008 at 9:17 am اول ايار / مايو ، 2008 في الساعة 9:17
@Acupuncture: Tags I’m not sure about, because that’sa feature that’s only been in WP since 2.3, and you’ve only been able to manage tags since this latest 2.5 release. @ الوخز بالابر : العلامات لست متأكدا من نحو ، لأن هذا هو الميزه الوحيدة التي كانت منذ 2،3 في رزمه العمل ، وكنت قد تمكنت فقط لادارة العلامات وبما ان هذا الاصدار 2،5 آخر. In addition, I’m not sure I want to manage all my tags pages, so I may just want to block them from indexing using my wpSEO plugin and concentrate on pages, posts, and category pages… وبالاضافة الى ذلك ، لست متأكدا من انني اريد ان ادارة كل صفحة العلامات الخاصة بي ، لذلك قد ترغب فقط في منعها من فهرسة wpseo بلادي باستخدام البرنامج المساعد والتركيز على صفحة ، وظائف ، وصفحات الفئة…
May 2nd, 2008 at 11:04 am ايار / مايو 2nd ، 2008 في الساعة 11:04
[...] enough? [...]يكفي؟ Well, it turns out that they can be used for a lot more. حسنا ، وتبين انها يمكن ان تستخدم لأكثر بكثير. JT posted his ideas about categories and i thought it was definitely worth mentioning here! ج ت نشر افكاره حول الفئات ورأيت انه من المؤكد ان الجدير بالذكر هنا! Using this idea gets rid of the plugin [...] باستخدام هذه الفكره يحصل على التخلص من البرنامج المساعد [...]