Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Include two Tag Articles in one page.


  #1  
Old Mar 21, 2012, 01:19 AM
gamix07
 
28 posts · Mar 2012
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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 01:05 PM.


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