hun73rthumb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Help with showing content from WP posts in my custom siteOk the weekend is off.
this is news.php file
…
some static text here
….
<?php
global $post;
$args = array( ‘posts_per_page’ => 3 );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?>
<?php endforeach; ?>
…
<?php
include(“footer.php”);
?>
…So when I click on Hello world link it redirects me to ./wordpress/?p=1
Forum: Fixing WordPress
In reply to: Help with showing content from WP posts in my custom siteI’ll explain myself again.
I’ve got a site where I have front page and news site. On the front page I have also a section where two news are displayed. These are static news for the moment. It’s all html5 + css + some javascript. The whole site.
Now I’d like to have “dynamic” page. So I’ve integrated wordpress within a page. I’ve followed http://codex.wordpress.org/Integrating_WordPress_with_Your_Website#Begin_the_transformation
With help of http://codex.wordpress.org/Integrating_WordPress_with_Your_Website#Generate_a_list I was able to show last two news (news being wordpress’s posts)
These news are shown on the front page. But when I click on them it opens ../custom_page/wordpress/?p=10 it opens in wordpress directory obvious with wordpress css and stuff. I’d like to be open with my CSS. Is this possible and easy to made without making my own theme?
Forum: Fixing WordPress
In reply to: Help with showing content from WP posts in my custom siteIt’s still local.
Forum: Themes and Templates
In reply to: Please help me find similar theme by look and functionalityNo luck unfortunatelly.