Social Media e Wordpress: O poder dos themes e plugins PHP

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    3 Favorites

    Social Media e Wordpress: O poder dos themes e plugins PHP - Presentation Transcript

    1. Social Media e Wordpress O poder dos Themes e Plugins PHP By José Fernando S. Carvalho
    2. Social Midia ao redor
    3. APPLE
    4. FIAT
    5. DELL
    6. GOOGLE
    7. MINISTÉRIO DA CULTURA
    8. BLOGS, FORUNS, LISTAS DE DISCUSSÃO
    9. E O NOSSO PHP
    10. BLZ, MAS O QUE É SOCIAL MEDIA?
    11. ECONOMIA DE QUE?
    12. WEB 2.0 E SUAS TOOLS
    13. OS MOCINHOS
    14. OS BANDIDOS
      • E. DOAÇÃO É FANTASIA?!?!? - Usenet 80Mil em 2001 - Wordpress com mais de 4milhões em 2009
      • MOTIVAÇÕES - Redução no custo de produção e disseminação - Reciprocidade - Prestígio - Incentivo Social e moral
    15. A MAIOR MOTIVAÇÃO - Baixo custo de produção = PHP
    16. CARACTERÍSTICAS -Descentralização de conteúdo -Extrema facilidade de uso -Interatividade -Uso intensivo de agregadores de conteúdo e Tags
    17. BRINDEZIN!!!!!
    18. WORDPRESS É UMA MÃE - UM GROUPWARE - TODO EM PHP - ARQUITETURA MODULAR - CONTÉM TODO O CONCEITO DA WEB COLABORATIVA - FLEXÍVEL - SUPORTE ATIVO - MAIS DE 4MILHÕES DE USUÁRIOS - GERENCIADOR DE PORTAIS
    19. PILHA DE TECNOLOGIA WP
    20. ARQUITETURA WP
    21. THEMES AND PLUGINS
    22. THEMES Responsável pelo primeiro impacto da solução colaborativa
      • Criando um Theme no WP
      • 1- Criar uma pasta com o nome do theme
      • 2- Criar os seguintes arquivos dentro da pasta
      • index.php e single.php
      • sidebar.php
      • footer.php
      • header.php
      • folhadeestilo.css e screenshot.png
      • TEIA TI
      • Primeiras linhas folhadeestilo.css
      • /*
      • Theme Name: Teiati
      • Theme URI: http://www.teiati.com.br
      • Description: Theme direcionado para Portais baseados no Wordpress
      • Author: Fernando Carvalho
      • Author URI: http://www.fish.jpa.com.br
      • Version: 1.0
      • */
    23.  
      • Arquivo header.php
      • <html>
      • <head>
      • <title><?php bloginfo('name'); ?></title>
      • <meta http-equiv=&quot;content-type&quot; content=&quot;<?php bloginfo('html_type'); ?>; <?php bloginfo('charset'); ?>&quot; />
      • <link rel=&quot;stylesheet&quot; href=&quot;<?php bloginfo('stylesheet_url'); ?>&quot; media=&quot;all&quot; type=&quot;text/css&quot; />
      • <link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;RSS 2.0&quot; href=&quot;<?php bloginfo('rss2_url'); ?>&quot; />
      • <link rel=&quot;alternate&quot; type=&quot;text/xml&quot; title=&quot;RSS .92&quot; href=&quot;<?php bloginfo('rss_url'); ?>&quot; />
      • <?php wp_head(); ?>
      • </head>
      • <body>
      • Arquivo footer.php
      • <div class=“rodape”>
      • <!-- ALGUM CONTEÚDO NO RODAPÉ-->
      • </div>
      • <?php wp_footer(); ?>
      • </body>
      • </html>
      • Arquivo Index.php
      • <?php
      • get_header();
      • if (have_posts()) : while (have_posts()) : the_post();
      • echo &quot;<h2>&quot;.the_title().&quot;</h2>&quot;;
      • the_content(&quot;<p>&quot;,$content,&quot;</p>&quot;);
      • endwhile;
      • else :
      • echo &quot;não ha posts&quot;;
      • endif;
      • get_footer();
      • ?>
      O LOOP
      • Arquivo single.php
      • <?php
      • get_header();
      • if (have_posts()) : the_post();
      • echo &quot;<h2>&quot;.the_title().&quot;</h2>&quot;;
      • the_content(&quot;<p>&quot;,$content,&quot;</p>&quot;);
      • else :
      • echo &quot;não ha posts&quot;;
      • endif;
      • get_sidebar();
      • get_footer();
      • ?>
      • Arquivo sidebar.php
      • <?php
      • //NUVEM DE TAGS
      • wp_tag_cloud('smallest=8&largest=16&number=30&orderby=name');
      • //CATEGORIAS
      • wp_list_categories('depth=1&orderby=id&title_li=');
      • ?>
    24.  
      • PARABÉNS SEU THEME JA ESTÁ ROLANDO
    25. PLUGINS
      • CRIANDO PLUGINS
      • 1- Criar uma pasta com o nome do Plugin
      • 2- Dentro da pasta criar um arquivo com o nome do Plugin e outro README:
      • email-teiati.php
      • Readme.txt
      • Primeiras linhas arquivo email-teiati.php
      • <?php
      • /*
      • Plugin Name: Email-TeiaTi
      • Plugin URI: http://fish.jpa.com.br
      • Description: Alerta o grupo para novas atualizacoes
      • Version: 1.0
      • Author: Fernando Carvalho - Fish
      • Author URI: http://fish.jpa.com.br
      • */
    26.  
      • Lógica no email-teiati.php
      • add_action('publish_post', 'email_teiati');
      • function email_teiati($post_ID){
      • $Name = &quot;TEIA TI&quot;;
      • $emailTeia = “teiati@teiati.com.br&quot;;
      • $lista = &quot;teiati@googlegroups.com&quot;;
      • $cabecalho .= &quot;From: &quot;. $Name . &quot; <&quot; . $emailTeia . &quot;> &quot;;
      • $body = &quot;Pessoal, inseriram uma nova entrada no TEIA, deem um pulo para saber se o conteudo lhes interessa.”;
      • $Titulo = &quot;Novo Post no Teia&quot;;
      • mail($lista, $Titulo, $body, $cabecalho);
      • return $post_ID;
      • }
      • ?>
      • Arquivo readme.txt
      • === Plugin Name ===
      • Colaborador: Fish
      • Link para doações: http://fish.jpa.com.br/
      • Tags: post, autor
      • Requer wp : 2.7
      • Testado na Versao: 2.7
      • Essa é uma pequena descrição sobre o plugin..
      • == Description ==
      • Essa é a descrição completa do plugin…
      • PLUGIN FUNCIONANDO !!!!!!
      • SUGESTÕES
      • -Desenvolver para interligar pessoas
      • -Usem o wordpress(FBI, MINC, FORD,SONY)
      • -Certifiquem-se de haver um modulo colaborativo para determinada solução.
      • -Colaborem
      • -Façam seus nomes na WEB
    27. ?
    28. Contato José Fernando Santos Carvalho “fish” Bacharel em Sistemas de Informação Administrador de Sistemas Neoline ------------------------------------------------------- E-mail: gentio@gmail.com Blog: http://fish.jpa.com.br Follow me on Twitter: http://twitter.com/fisholito
    29. Referências http://wordpress.com http://fish.jpa.com.br http://www.cultura.gov.br http://apple.com http://www.blogcorporativo.net

    + Fernando CarvalhoFernando Carvalho, 8 months ago

    custom

    808 views, 3 favs, 1 embeds more stats

    Palestra sobre Web colaborativa e wordpress, com ê more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 808
      • 790 on SlideShare
      • 18 from embeds
    • Comments 0
    • Favorites 3
    • Downloads 29
    Most viewed embeds
    • 18 views on http://www.teiati.com.br

    more

    All embeds
    • 18 views on http://www.teiati.com.br

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories