No WordPress os resumos parecem ser uma característica exclusiva dos posts. Mas alguns usuários podem querer usá-los para páginas também. Mesmo que o WordPress suporte resumos de página internamente, pois tem o mesmo campo de banco de dados como os resumos de posts, não fornece a opção de adicionar resumos de páginas por meio do painel de administração do WordPress. Neste artigo, vamos compartilhar um plugin que permite adicionar Resumos para Páginas no WordPress, semelhante ao de seus posts.
Abra o arquivo functions.php do seu tema e adicione o seguinte código:
add_action( 'init', 'my_add_excerpts_to_pages' ); function my_add_excerpts_to_pages() { add_post_type_support( 'page', 'excerpt' ); }
[leia]Como colar este snippet da forma correta[/leia]
Alternativamente, você pode instalar um plugin chamado PJW Page Excerpt, que irá adicionar a mesma caixa de resumo para o seu editor de páginas como tem o seu editor post.
[cta link=”http://wordpress.org/extend/plugins/pjw-page-excerpt/”]PJW Page Excerpt[/cta]
8 respostas
Thank you very much for sharing, I learned a lot from your article. Very cool. Thanks. nimabi
Suivre le téléphone portable – Application de suivi cachée qui enregistre l’emplacement, les SMS, l’audio des appels, WhatsApp, Facebook, photo, caméra, activité Internet. Idéal pour le contrôle parental et la surveillance des employés. Suivre le Téléphone Gratuitement – Logiciel de Surveillance en Ligne. https://www.xtmove.com/fr/
Wow, incredible blog structure! How long have you ever been blogging for?
you make running a blog look easy. The overall glance of your website is
magnificent, as neatly as the content! You can see similar here sklep
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
If you are going for most excellent contents like myself,
only pay a visit this web page every day because it provides feature contents, thanks I saw
similar here: Sklep online
It’s very interesting! If you need help, look here: ARA Agency
Hi there! Do you know if they make any plugins to assist with Search Engine Optimization? I’m trying to get my website to
rank for some targeted keywords but I’m not seeing very good success.
If you know of any please share. Many thanks! You can read
similar article here: Hitman.agency
Howdy! Do you know if they make any plugins to help with SEO?
I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains.
If you know of any please share. Appreciate it! You can read similar
text here: Hitman.agency