Roy
(@gangleri)
De index.php van je theme, te bereiken via ‘appearance’ ‘editor’.
Dank u voor me te helpen,
Maar wat moet ik dan veranderen in dat PHP bestand, wnt ik ben niet echt thuis in PHP …
dit krijg ik te zien :
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
get_header(); ?>
<div id=”container”>
<div id=”content” role=”main”>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
get_template_part( ‘loop’, ‘index’ );
?>
</div><!– #content –>
</div><!– #container –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Zoals je aan deze regel <?php get_template_part( 'loop', 'index' ); ?>
kan zien vind je dit in loop.php.
Roy
(@gangleri)
Ook dat nog, een complex theme. Is dat Twentyten ja? Heb ik nog niet echt naar gekeken. Wat je zoekt is iets in de richting van
<div class="postmetadata"><?php the_time('j F Y') ?> <!-- <?php _e('by') ?> <?php the_author() ?> --></div>
dag iedereen,
ja ik heb het thema twenty. en heb de loop.php al 10 keer bekeken en vind nits wat lijkt op :
<div class=”postmetadata”><?php the_time(‘j F Y’) ?> <!– <?php _e(‘by’) ?> <?php the_author() ?> –></div>
heeft iemand nog een tip ? 🙂
Je vind wat je nodig hebt in je functions.php
bestand, in de Twenty Ten folder, vanaf regel 441. Daar wordt de post-meta samengesteld.
thanks ! ik heb de regels eindelijk gevonden, maar moet ik dat dan allemaal wissen ? want zoals ik al zij van PHP weet ik niks.