Jump to content
php.lv forumi
Sign in to follow this  
qostrol

Wordpress posta laiks

Recommended Posts

Sveiki.

 

Man problema wordpress blogam, ka pie katra raksta ir divreiz raksta ievietosanas laiks.

2lih476.png

 

Pirmais mainas wordpress admin paneli. A ka to otro nonemt`?

Edited by qostrol

Share this post


Link to post
Share on other sites

Izmeklejos jau pa tas temas galvenajiem failiem.

 

style.css faila to nevar izlabot/paslept?

 

Un kada ir ta rindina apmeram? the_time?

Edited by qostrol

Share this post


Link to post
Share on other sites

ja zini php teu butu jatatrod piemeeram kaut lidzigu time vai date vairak gan neteiksu :)

Share this post


Link to post
Share on other sites

Izmeklejos jau pa tas temas galvenajiem failiem.

 

style.css faila to nevar izlabot/paslept?

 

Un kada ir ta rindina apmeram? the_time?

faila single.php

Blakus the_title bus the_time

Share this post


Link to post
Share on other sites

single.php nav nevienas rindinas par date/time..

tacu atradu entry.php sadu rindinu:

<?php echo p2_date_time_with_microformat(); ?>

tacu visu izdzesot nonemas pilnigi viss - abi divi laiki un datums ari.

 

Ka var nonemt tikai to vienu laiku?

Edited by qostrol

Share this post


Link to post
Share on other sites

single.php nav nevienas rindinas par date/time..

tacu atradu entry.php sadu rindinu:

<?php echo p2_date_time_with_microformat(); ?>

tacu visu izdzesot nonemas pilnigi viss - abi divi laiki un datums ari.

 

Ka var nonemt tikai to vienu laiku?

Man ir: <?php the_time('l, F jS, Y') ?> on <?php the_time() ?>

Share this post


Link to post
Share on other sites

Man index.php ir kaut kas lidzigs:

get_the_time( 'F, Y' ) ); ?>

Ko tur izmainit?

Es tagat tiešam nesaprotu. Paskaties to vitu ar fire bug un mekle pec css.

Share this post


Link to post
Share on other sites

single.php nav nevienas rindinas par date/time..

tacu atradu entry.php sadu rindinu:

<?php echo p2_date_time_with_microformat(); ?>

tacu visu izdzesot nonemas pilnigi viss - abi divi laiki un datums ari.

 

Ka var nonemt tikai to vienu laiku?

 

apskaties ko tā funkcija dara. Visdrizāk tā ir iekš functions.php

Share this post


Link to post
Share on other sites

apskaties ko tā funkcija dara. Visdrizāk tā ir iekš functions.php

Visdrizak ta ir defineta ipaši priekš šis temas. Un tadejadi var but jebkur.

Share this post


Link to post
Share on other sites

Visdrizak ta ir defineta ipaši priekš šis temas. Un tadejadi var but jebkur.

 

protams ka definēta priekš šis tēmas un tēmas funkcija parasti ir iekš functions.php tēmas mapē

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...