← Desenvolvimento

Meu blog problema

Lida 3211 vezes

Offline

PTByter 
Membro
Mensagens 218 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

E assim tenho um blog www.techtuga.net

E o titulo da pagina não o consigo mudar!

Vejam, o titulo e: www.techtuga.net, como mudo para Tech Tuga?

Ajudem me!

O meu blog e em wordpress!
Offline

MarKo 
Administrador
Mensagens 4610 Gostos 10
Feedback +1

Troféus totais: 37
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes Poll Voter 10 Polls Poll Starter

Tens:

Código: [Seleccione]
<title> </title>

Mete:

Código: [Seleccione]
<title>Tech Tuga</title>

Devias ver melhor as tuas meta tags, se o site é para o público português.  :wink:
Offline

PTByter 
Membro
Mensagens 218 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

One e que ponho isso?

Em que file?


Na base de dados?
Offline

Ricardo75 
Membro
Mensagens 1660 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

em princípio no index.php do template que usas
isso é wordpress não é?
Offline

PTByter 
Membro
Mensagens 218 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

ya
Offline

PTByter 
Membro
Mensagens 218 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

E assim tenho o file mesmo sem ser do tema do inicio:


(index.php)
Aqui esta o codigo:

Código: [Seleccione]
<?php
/* Short and sweet */
define&#40;'WP_USE_THEMES', true&#41;;
require&#40;'./wp-blog-header.php'&#41;;
?>


E tenho do tema Fspring 10

Código: [Seleccione]
<?php
get_header
&#40;&#41;;
?>


<div id="content">
  <?php if &#40;have_posts&#40;&#41;&#41; &#58; while &#40;have_posts&#40;&#41;&#41; &#58; the_post&#40;&#41;; ?>
  <div class="entry <?php if&#40;is_home&#40;&#41; && $post==$posts[0&#93; && !is_paged&#40;&#41;&#41; echo ' firstpost';?>">
    <h3 class="entrytitle" id="post-<?php the_ID&#40;&#41;; ?>"> <a href="<?php the_permalink&#40;&#41; ?>" rel="bookmark">
      <?php the_title&#40;&#41;; ?>
      </a> </h3>
 <div class="entrymeta">
        <?php the_time&#40;'F dS, Y'&#41;; 
echo " | Categoria&#58; ";the_category&#40;','&#41;;?>

</div>
    <div class="entrybody">
      <?php the_content&#40;__&#40;'Ler Mais'&#41;&#41;;?>
     
<?php comments_popup_link&#40; 'Nao a comentarios ','1 comment ','% comments ', 'comments-link ','Commentarios estão desligados para este post'&#41;; 
edit_post_link&#40;__&#40;'<strong>Editar</strong>'&#41;&#41;;?>

     
    </div>
    <!--
<?php trackback_rdf&#40;&#41;; ?>
-->
  </div>
  <?php comments_template&#40;&#41;; // Get wp-comments.php template ?>
  <?php endwhile; else&#58; ?>
  <p>
    <?php _e&#40;'Desculpe, não á posts com o criterio pertendido.'&#41;; ?>
  </p>
  <?php endif; ?>
  <p>
    <?php posts_nav_link&#40;' — ', __&#40;'&laquo; Pagina Anterior'&#41;, __&#40;'Pagina Seguinte &raquo;'&#41;&#41;; ?>
  </p>
</div>
<?php get_sidebar&#40;&#41;; ?>
<!-- The main column ends  -->
<?php get_footer&#40;&#41;; ?>



E dizem me que tenho d por isto!

Onde!

Pus no inicio e estragou me o template todo, ajudem me!

<title>Tech Tuga</title>[/code]
Offline

raac 
Membro
Mensagens 177 Gostos 0
Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

headshot15,

Faz login no teu wordpress e vai à área de administração.

Options => General e vai te aparecer algo tipo isto:



Uma vez que o title te aparece no codigo html não tens que alterar nada no  theme...

Se não funcionar avisa !
Offline

PTByter 
Membro
Mensagens 218 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

Sim, eu fiz isso mas fica na mesma!

Por iss queria!


Cumps,  :D

http://Http://www.techtuga.net
Offline

raac 
Membro
Mensagens 177 Gostos 0
Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

Citação de: "headshot15"
Sim, eu fiz isso mas fica na mesma!

Por iss queria!


Cumps,  :D

http://Http://www.techtuga.net


Na administração do Wordpress vai a:

Presentation => Theme Editor => Do lado direito selecionas o Header

E deves de encontrar algo parecido com isto:

Código: [Seleccione]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo&#40;'html_type'&#41;; ?>; charset=<?php bloginfo&#40;'charset'&#41;; ?>" />

<title><?php if &#40; is_single&#40;&#41; &#41; &#123; ?> <?php the_title&#40;&#41;; ?> -<?php &#125; ?> <?php bloginfo&#40;'name'&#41;; ?> </title>

<meta name="generator" content="WordPress <?php bloginfo&#40;'version'&#41;; ?>" /> <!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo&#40;'stylesheet_url'&#41;; ?>" type="text/css" media="screen" />


Copia a linha que que começa por <title> e acaba em </title> e substitui pela que está no teu theme editor, e já deve dar...
Offline

PTByter 
Membro
Mensagens 218 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

Obrigado, resultou + mais uma cena, a minha barra lateral do word press em determinados computadores vai para o fundo, como faço para ficar bem?

Outra coisa, no forum: www.techtuga.net/forum , se repararem aparece aquela barra em cima para se registaren, mas não vai para o topo de pagina mesmo com neste forum porque?
Offline

PTByter 
Membro
Mensagens 218 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

Código: [Seleccione]

/*
Theme Name: fSpring
Theme URI: http://www.fahlstad.se
Description: Spring flavour.
Version: 1.0
Author: Fredrik Fahlstad
Author URI: http://www.fahlstad.se
*/
body {
margin: 0px;
padding: 0px;
background: #ececec url(images/bg.png) repeat-y center;
color: #666;
font: 11px/15px Verdana, Arial, Helvetica, sans-serif;
}
#wrap {
width: 800px;
overflow: hidden;
position:relative;
margin: 0px auto;
}
#content {
width: 474px;
float: left;
display:inline;
text-align: justify;
padding: 10px;
margin: 8px;
}
#nav {
height: 49px;
width: 790px;
margin-right: auto;
margin-left: auto;
}

#sidebar {
width: 100px;
float: left;
line-height: 1.5em;
display:inline;
margin: 8px 8px 8px 0px;
padding: 10px;
font-size:10px;
}
#pages h1{
margin:0px;
padding:0px;
}
#pages h1 a{
text-transform:uppercase;
text-decoration:none;
color:#999;
font: 18px Arial, Helvetica, sans-serif;
margin:0px;
padding:13px 0px 0px 10px;
letter-spacing: -1px;
float: left;
}
#pages h1 a:hover{
text-decoration:underline;
}

h3, h4 {
padding-top: 5px;
padding-bottom: 15px;
}
#logo {
background: url(images/top.png) no-repeat;
height: 200px;
width: 780px;
margin-right: auto;
margin-left: auto;
}
#tagline {
height: 20px;
text-align: right;
margin-top: -30px;
margin-right: 25px;
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
color: #FFFFFF;
}
div#pages {
height: 40px;
margin: 0px auto 5px;
width:780px;

}

div#pages ul {
padding: 10px 0px 0px;
white-space: nowrap;
list-style-type: none;
margin: 0px;
}
div#pages ul li {
float:right;
}
#pages ul li a:before{
content:" .: ";
color:#ff7800;
}
div#pages ul li.current_page_item a  {
text-decoration: underline;
}
div#pages ul li a {
display: block;
text-decoration: none;
margin:1px 0px;
text-align:right;
font-size:10px;
padding:4px;
font-weight: bold;
text-transform: uppercase;
color: #999999;
}
div#pages ul li a:hover {
color: #FF7800;
}


#footer {
clear: both;
text-align: center;
height: 40px;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #CCCCCC;
width: 774px;
padding: 0px;
margin-right: auto;
margin-left: auto;
}
#footer p{
padding:10px;
margin:0px;
}

.entry{
padding-top: 0px;
padding-bottom: 30px;
padding-left: 0px;
/*font-size: 0.80em;*/
line-height: 1.5em;
}
.firstpost {
margin-bottom:15px
}
h3.entrytitle, h3 {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
margin-top: 0;
margin-right: 0;
margin-bottom: 5px;

}
h3.entrytitle a, h3.entrytitle a:visited, h3 a{
color: #ff7800;
text-decoration:none;
border-style: none;
font-size: 12px;
font-weight: bolder;
text-transform: none;
}
h3.entrytitle a:hover, h3 a:hover{
text-decoration:underline;}
.entrymeta{
height: 16px;
margin-top: 0;
font-size: 10px;
color: #999;
border-top:solid 1px #ccc;
padding-top:4px;
margin-bottom: 8px;
}
.entrymeta a img{
border:none;
}
.entrybody img {
padding: 4px;
border: 1px solid #DFDFDF;
}
.entrybody ul {
margin-left: 20px;
padding-left:0px;
list-style-type: none;
}
.entrybody ol{
margin-left:20px;
padding-left:0px;
}
.entrybody ul li {
list-style:square;
}
.commentlink img {
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
}

h4, h3, h2, #commentblock h2 {
margin: 0;
padding: 0px;
font-size: 11px;
font-style: normal;
font-weight: bold;
font-variant: normal;
color:#999;
}
h2{
margin-bottom: 10px;
font-size: 14px;
}
a, a:visited{
color: #ff7800;
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
.entrybody p{
margin:8px 0;
padding:0;
}
.entrybody ul {
margin-left: 30px;
padding-left:0px;
list-style-type: none;
}
.entrybody ol{
margin-left:30px;
padding-left:0px;
}
.entrybody ul li {
list-style:square;
}
#sidebar h2 {
color: #999;
margin-top: 5px;
margin-right: 0px;
margin-bottom: 8px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 4px;
padding-left: 0px;
border-bottom: 1px solid #ccc;
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
}
#sidebar ul {
list-style: none;
margin: 0 0 20px 0;
padding: 0;
}

#sidebar ul li {
display: inline;
margin:0;
padding:0
}
#sidebar li{
list-style: none;

}

#sidebar ul li a {
border-bottom: 1px solid #ccc;
color: #ff7800;
display: block;
text-decoration: none !important;
margin-left: 0px;
padding-top: 4px;
padding-right: 0px;
padding-bottom: 4px;
padding-left: 25px;
background-image: url(images/navbulle.gif);
background-repeat: no-repeat;
background-position: 10px 50%;
}


#sidebar ul li a:hover{
border-bottom-color: #fff;
color: #666 !important;
background-color: #ccc;
}



#searchdiv {
margin-top: 8px;
margin-bottom: 15px;
}
.comments-link {
background-image:url(images/comments.gif);
background-repeat: no-repeat;
background-position: left center;
padding-left:16px;
}
/************************************************
* Comments *
************************************************/
#commentblock h2{
padding:2px;
margin-bottom:10px;
margin-top:30px;
}
#commentblock {
float:left;
padding-top: 0px;
padding-bottom: 20px;

text-align: left; /*font-size: 0.8em;*/
}

ol#commentlist {
margin-top:0px;
padding: 5px;
margin-left: 0px;
list-style-type: none;
}
.commentdate {
font-size:0.8em;
padding-left:5px;
}
#commentlist li  p{
margin-bottom: 8px;
line-height: 20px;
padding:0;
}

.commentname {
margin: 0;
padding: 5px;
}

.commentinfo{
clear:both;
}

.commenttext {
clear: both;
margin-top: 0px;
margin-bottom: 10px;
padding: 10px;
width:450px;
background: #ececec url(images/comm.png) no-repeat top;
}

.commenttext-admin {
clear: both;
margin-top: 0px;
margin-bottom: 10px;
padding: 10px;
width:450px;
background: #d7d7d7 url(images/comm-admin.png) no-repeat top;
}

#commentsformheader{
padding-left:0px;
}

#commentsform{
margin-top:0;
text-align:center;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}

#commentsform form{
text-align:left;
margin:0px;
}

#commentsform p{
margin:5px;
}

#commentsform form textarea{
width:99%;
}
p.comments_link  img{
margin: 0px;
padding: 0px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
}
blockquote{
font-style: italic;
color: #999999;
}
.adwrap,
.adwrapwide,
.adwrap-lu,
.adwrapbutton {
margin:0 0 1em;
padding:4px 0;
background:#fff;
border-top-width: 1px;
border-right-width: 0;
border-bottom-width: 1px;
border-left-width: 0;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #d5d7d0;
border-right-color: #d5d7d0;
border-bottom-color: #d5d7d0;
border-left-color: #d5d7d0;
}

.adwrap object {
width:336px;
height:280px;
}

.adwrapwide iframe,
.adwrapwide object {
width:468px;
height:65px;
}

.adwrap-lu {
margin:0 0 1em 1em;
width:180px;
float:right;
}

.adwrap-lu object {
width:180px;
height:90px;
}

.adwrapbutton iframe,
.adwrapbutton object {
width:180px;
height:150px;
}


table{
margin:10px;
}
td, th{
padding:3px;
font-weight:normal;

}




Código: [Seleccione]

#sidebar {
width: 100px;
float: left;
line-height: 1.5em;
display:inline;
margin: 8px 8px 8px 0px;
padding: 10px;
font-size:10px;
}


Sera que e aqui que mudo?
Na folha de tema?

E para mudar as cores das letras?
Offline

raac 
Membro
Mensagens 177 Gostos 0
Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

headshot15, vai ao style.css e procura por
#info {

...

}

e

 #infobar {


...

}

e mete aqui....

E aconselho-te a leres algum tutorial sobre css...é muito fácil  :!:
Offline

PTByter 
Membro
Mensagens 218 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

Não precebi bem, isso é o que?

Eu quero e isto:



E no meu forum quero por aquela barra em cima como deve de ser:
Offline

PTByter 
Membro
Mensagens 218 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

No help?