Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Include two Tag Articles in one page.


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Mar 21, 2012, 01:19 AM
gamix07
 
28 posts · Mar 2012
Tags Include two Tag Articles in one page.

Hello guyz! I am new here and i got one question:

Can I embed two tag articles in one page? Like example: When you click a tag in Atahualpa blog, you will see all the posts from that tag. Ok, now I need to include all the posts from two tags in one page.

Thanks for help!



Regards,
Mihai Morjan
  #2  
Old Mar 21, 2012, 03:16 AM
juggledad's Avatar
juggledad
 
22,255 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
The only way to do that would be with a custom query. There is a page template in the gold forums tutorials that allows you to enter a custom query. (the gold forums are available to members who have donated $20 or more)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 26, 2012, 10:23 AM
gamix07
 
28 posts · Mar 2012
Searching and asking people finally i solved this problem. I don't need money to help people, so this is guyz:
Include in page template the code:

Code:
<?php
$args = array( 'tag' => tag_name_here);
$lastposts = get_posts( $args );
foreach($lastposts as $post) : setup_postdata($post); ?>
	<div id="post-headline"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></div>
	<?php the_content(); ?>
<?php endforeach; ?>
Know anyone how I can include in a separate template, the atahualpa js scripts? My jQuery plugins doesn't work on this page.

Regards,
Mihai Morjan
  #4  
Old Mar 26, 2012, 12:13 PM
juggledad's Avatar
juggledad
 
22,255 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
I'm glad you found a solution for your issue and shared it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] static page show articles nano91 Center area post/pages 2 Mar 2, 2011 03:34 AM
[SOLVED] Publishing articles in your page or posts with ? jkfly4 Center area post/pages 6 Jan 29, 2011 05:04 PM
home page (blog articles) missing in action Pierre Atahualpa 3 Wordpress theme 4 Dec 16, 2010 03:59 AM
Articles on a Page page need to be displayed as Excerpts AltMedDeva Center area post/pages 6 Jan 18, 2010 11:47 AM
Static Home Page - Pages - Articles - Posts ScottiedogDave Atahualpa 3 Wordpress theme 3 Apr 17, 2009 06:10 AM


All times are GMT -6. The time now is 12:03 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.