Wordpress Hack #10: 9 Things You can do with Categories Wordpress Hack # 10: 9 coisas que você pode fazer com Categorias
1,088 views - 1.088 vistas -Posted in: Postado em:
1,088 views 1.088 impressões
Please note: This page was originally written in English. Atenção: Esta página foi originalmente escrito em Inglês.
The original post can be viewed O post original pode ser visualizada here aqui .
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? Você usa o Wordpress categorias às suas potencialidades? I’m going to show you 9 different ways to hack your Wordpress categories into shape! Eu vou lhe mostrar 9 maneiras diferentes de cortar sua Wordpress categorias em forma!
This is day #10 of Isto é de 10 dias # 30 Wordpress Hacks in 30 Days 30 Wordpress Hacks em 30 dias ! ?
So you have your categories listed in the sidebar of your blog like everybody else. Então você tem suas categorias listadas na barra lateral do seu blog, como qualquer um. I’m going to show you 9 more things you can do with Wordpress categories that will be better for you AND your blog. Eu vou lhe mostrar mais 9 coisas que você pode fazer com Wordpress categorias que será melhor para você e seu blog. 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. Ao mesmo tempo, personalizando o seu blog com esses hacks vai começar a defini-la e torná-lo diferente para além do que todos os "cookie-cortador" blogs na blogopshere.
Top Level Categories : In Wordpress when you create a category, it has to have a preface like www.site.com/category/news. Categorias de topo: Em Wordpress quando você cria uma categoria, tem que ter um prefácio como www.site.com / categoria / news. 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. Na "Permalinks" secção de suas opções ou configurações no seu painel WP, você pode alterar sua "categoria base", mas isso é apenas para mudá-lo a partir do padrão "categoria" a outra palavra que você escolher. There is (ridiculously) no way to remove it entirely and just have a category be www.site.com/news. Existe (ridiculamente) nenhuma maneira de removê-lo completamente e ter apenas uma categoria ser www.site.com / news. With the Com a Top Level Categories Plugin Top nível categorias plugin installed, it strips out the “category” so your category names CAN be top level all the time. instalado, ele tiras para fora da "categoria" de modo a sua categoria nomes podem ser nível superior o tempo todo.
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. Lista Folding Categoria: Talvez você está cansado de que a lista de categorias ligadas hogging até um punhado de sua barra lateral imobiliário em seu blog. If so, maybe you would be interested in trying to display them using the Se assim for, talvez você estaria interessado em tentar exibi-los utilizando o Folding Category List Wordpress Plugin Folding categoria lista wordpress plugin instead. em vez de.
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-Coluna Category List: Se você estiver tentando criar um sitemap simples e você deseja apenas uma página com várias categorias listagem seus cargos, os Multi-Column Category List Plugin for Wordpress Multi-coluna categoria lista plugin para Wordpress may be just what you need. Pode ser apenas o que você precisa.
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 Últimas Lugares de cada categoria: em vez Se você estiver criando um tema com um lado ou o bloqueio dos últimos lugares para uma página, cabeçalho, rodapé, ou em qualquer lugar - você pode usar o Latest Posts from Each Category Wordpress Plugin Últimos lugares de cada categoria wordpress plugin for that, and it has all kinds of formatting options, as well as comment counts, dates, and more. por isso, e ele tem todos os tipos de opções de formatação, bem como a observação contagens, datas, e muito mais.
Author Assigned Categories : If you have multiple authors in your Wordpress blog this plugin will be helpful to you. Autor Assigned Categorias: Se você tiver vários autores, em seu blog Wordpress este plugin será útil para você. 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. Você pode atribuir determinadas categorias de certos autores de modo que eles não serão capazes de posto de trabalho em categorias que você não deseja que eles. 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. Ele trabalha com "níveis usuário", para que você possa atribuir a dizer "notícia" a única categoria "repórteres", etc muito útil se você tem um administrador, editor e, em seguida, alguns escritores - todos com diferentes funções ou permissões.
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. Ícones Categoria: Lotes de outros blogs plataformas têm a capacidade de atribuir pouca imagens ou "ícones" para as categorias que você pode usar em seus cargos ou a barra lateral. Wordpress does not. Wordpress não. That’s why I wrote the post É por isso que eu escrevi o post Very Easy Wordpress Theme Hack: Show Category Images Muito fácil cortar Wordpress tema: mostrar imagens categoria , which involves uploading the images in FTP yourself to a directory you create and then inserting some PHP code in your template files. , Que envolve o upload das imagens em si FTP para um diretório que você cria e, em seguida, inserindo algumas código PHP em seu modelo arquivos. The O Category Icons Wordpress Plugin Categoria ícones wordpress plugin automates all that nonsense, and even has additional options that hack couldn’t provide. automatiza todos os que disparate, e ainda tem opções adicionais que não podia cortar proporcionar. Now it’s easy to upload and assign images to all your wordpress categories. Agora é mais fácil para fazer o upload de imagens e de atribuir a todos os seus wordpress categorias.
Category Pages : This plugin can solve all the worries of many people that have been commenting on my Categoria Páginas: Este plugin pode resolver todos os problemas de muitas pessoas que foram comentando sobre o meu Better SEO and $$$ with WP Category Templates Melhor SEO e $ $ $ com WP Categoria Modelos 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. Eu escrevi esse lugar porque foi a primeira forma de colocar para fora eu figurava conteúdo original em cada categoria de melhor página pesquisa indexação. In entailed creating a separate category template file for every category with a few paragraphs of original content in each. Em implicou a criação de uma categoria separada para cada categoria arquivo modelo em alguns pontos do conteúdo original em cada uma. If you switch themes, you might have to rewrite them - it was a solution, but also a big hassle. Se você mudar de temas, você pode ter que reescrever eles - que era uma solução, mas também um grande incómodo. With the Com a Category Page Wordpress Plugin Categoria Page wordpress plugin , it allows you to “write” a Wordpress page and then “assign” it to a category. , Que lhe permite "gravar" Wordpress uma página e, em seguida, "ceder"-o para uma categoria. So basically, then this plugin puts the contents of this page at the top of whatever category you assign it to. Assim, basicamente, em seguida, este plugin coloca o conteúdo desta página no topo de qualquer categoria associá-lo a você. I don’t think that this is the best solution - but it is a solution that’s better than the original one I had. Não creio que esta é a melhor solução - mas é uma solução que pode ser melhor do que o original Eu tinha um. I will give you other options to this coming up. Vou dar-lhe outras opções para este chegar. 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. Eu não tenham instalado este plugin, e as coisas que me pergunta é se ou não todas as páginas serão exibidos nas "Páginas" do seu lado. You could easily exclude all the ones you created to associate with categories, but that could be very tedious. Você poderia facilmente excluir todos os que você criou para associar com as categorias, mas que poderia ser muito tedioso.
Page Category Plus : This is a unique plugin that could be confused with the Category Pages one, but it does yet something different. Page Categoria Plus: Este é um plugin único que poderia ser confundida com a categoria Páginas um, mas ele ainda faz alguma coisa diferente. The O Page Category Plus Wordpress Plugin Page categoria Plus wordpress plugin allows you to assign categories to Pages. permite-lhe atribuir categorias de Páginas. You know how you get to choose categories whenever you write a post, but you don’t have that choice when you write pages? Você sabe como você a escolher as categorias, sempre que você escrever um post, mas você não tem que escolher quando você escrever páginas? Now you have that ability once this plugin is installed. Agora você tem habilidade uma vez que este plug-in é instalado. So if I install this plugin and assign my Por isso, se eu instalar este plugin e atribuir o meu 30 Wordpress Hacks in 30 Days 30 Wordpress Hacks em 30 dias “page” to my "Página" para o meu Wordpress Category Categoria Wordpress - it will show up on the same page as my posts now. -- Ele vai aparecer na mesma página que meus posts agora. WOW - will this plugin make my job of organizing this (and other) blogs a whole lot EASIER! WOW - este plugin irá fazer o meu trabalho de organizar este (e outros) blogs um lote inteiro mais fácil!
Manage Category Descriptions : This is IMHO “the solution” to having original content on category pages for good SEO and more indexed pages. Gerenciar Descrições Categoria: Esta é IMHO "a solução" para ter conteúdo original a categoria para uma boa SEO páginas e mais páginas indexadas. In your Wordpress dashboard go to “Manage -> Categories” and then click on that category to edit it. Em seu Wordpress ir ao painel "Gerenciar -> Categorias" e, em seguida, clique na categoria que a editá-lo. Give your category a “description”. Deixe a sua categoria de "descrição". Next, if you created any category templates like category-6.php, delete them. Em seguida, se você criou qualquer categoria templates-6.php como categoria, excluí-los. And then on your archive.php (or cateogry.php if you have one) find this section of the code: E, depois, em seu archive.php (cateogry.php ou se você tiver um) encontrar esta secção do código:
<?php /* If this is a category archive */ if (is_category()) { ?> <h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2> <? php / * Se esta é uma categoria arquivo * / if (is_category ()) (?> <h2 class="pagetitle"> Arquivo para a '<? php echo single_cat_title ();?>' Category </ h2> That’s the part of the template that say “if this is a category page, then show the title”. Essa é a parte do modelo que dizer "se se trata de uma categoria página e, em seguida, mostrar o título". Well, all you have to do is paste in one line of code directly below that to print the description for the category out: Pois bem, tudo que você tem que fazer é colar em uma linha de código para imprimir diretamente abaixo que a descrição para a categoria de saída:
<?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(); ?> <? php / * Se esta é uma categoria arquivo * / if (is_category ()) (?> <h2 class="pagetitle"> Arquivo para a '<? php echo single_cat_title ();?>' Category </ h2> <? php echo category_description ();?> Of course, you don’t repeat those first two lines, you just copy the third one for the description in your template. Evidentemente, você não repetir essas duas primeiras linhas, você apenas um exemplar da terceira para a descrição do seu modelo. 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. Você também pode colocá-lo em um div, o estilo dele, dar-lhe uma fronteira ou cor de fundo para torná-lo se destacam, etc Pessoalmente, penso que esta é uma maneira muito melhor para exibir conteúdo original da categoria páginas que não quer um plugin ou individual templates, porque ele não tem qualquer extra para criar páginas ou modelo com que se preocupar. In addition, you could use the descriptions for other things on your blog in other places if you wanted. Além disso, você poderia usar as descrições de outras coisas em seu blog em outros lugares se você quisesse.
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. Espero que você alguns benefícios derivados da minha categoria hacks - e maio seu chisel seu blog Wordpress em mais de "suas próprias" todos e cada dia. Once again, if you have anything to add to make this hack page any better, or a question - please comment now! Uma vez mais, se você tem alguma coisa a acrescentar ao fazer esse truque qualquer página melhor, ou uma questão - queira comentar agora!
Tags: Palavras-chave: wordpress-hacks WordPress-hacks



























May 1st, 2008 at 7:58 am 1 de maio, 2008, 7:58 am
I get random emails about updates on comments and last night was one of them. Recebo e-mails aleatórios sobre atualizações e comentários sobre a noite passada foi um deles. . . seen the added comment about categories and I see you’ve ran with it! visto acrescentou o comentário sobre as categorias e vejo que você correu com ela!
Using the description is one of those obvious and brilliant things we’ve all over looked! Usando a descrição é uma daquelas coisas óbvias brilhante e temos toda a olhou! This certainly makes it a lot easier to keep track of things. Isso certamente torna muito mais fácil se manter a par das coisas. I liked the idea the commenter had about using setting up your description in your favorite html editor and just paste the code it. Eu gostei da idéia sobre como usar o comentarista tinha a configuração da sua descrição em seu favorito html editor e apenas cole o código dele. Works great. Funciona muito bem.
I spoke with the author of the category page plugin. Falei com o autor da categoria página plugin. He’s trying to add functions for tags in his next update. Ele está tentando adicionar tags nas suas funções para a próxima atualização. However, the new way of using the description makes the current plugin obsolete. No entanto, a nova forma de utilizar a designação actual faz com que o plugin obsoleto. One less plugin is always good for me Um plugin menos é sempre bom para mim![= []](http://www.jtpratt.com/wp-includes/images/smilies/11.gif)
So. Assim. . . who’s the genius that’s going to provide the next brilliant way to add content to the tags??? que é o gênio que vai prestar o próximo forma brilhante para adicionar conteúdo para as tags?
thx THX
Charles
May 1st, 2008 at 9:17 am 1 de maio, 2008, 9:17 am
@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. @ Acupuntura: Tags não tenho certeza sobre, por causa da that'sa característica que só foi dado em WP 2,3, e só tiver sido capaz de gerir etiquetas, uma vez que este último 2,5 libertação. 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… Além disso, não tenho certeza que gostaria de gerenciar todas as minhas páginas tags, então eu quero apenas maio bloqueá-los a partir de indexação com o meu wpSEO plugin e concentrar-se em páginas, cargos, e de categoria páginas…
May 2nd, 2008 at 11:04 am 2 de maio, 2008, 11:04 am
[...] enough? [...] Suficiente? Well, it turns out that they can be used for a lot more. Pois bem, verifica-se que eles podem ser usadas para muito mais. JT posted his ideas about categories and i thought it was definitely worth mentioning here! JT postou suas ideias sobre as categorias e pensei que era definitivamente que vale a pena mencionar aqui! Using this idea gets rid of the plugin [...] Usando essa idéia recebe livrar do plugin [...]