TataVostru
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Need Help pleaseNobody know the solution for this? I do not understand what is this forum, if no one answer.
Forum: Fixing WordPress
In reply to: Need Help pleaseThis i use to display movies in actors page:
https://cinema.trancelevel.com/persoane/emma-stone/<?php //create new loop query for films by this actor $movies = $wpdb->get_col("SELECT post_id FROM $wpdb->postmeta WHERE meta_key = 'distributie' AND meta_value LIKE '%".get_the_ID()."%'"); $the_query = new WP_Query( array( 'post__in' => $movies) ); // The Loop while ( $the_query->have_posts() ) : $the_query->the_post(); echo '<div class="actor-box-related"><a class="actor-titlu" href="'; the_permalink(); echo '" title="'.get_the_title().'">'; ?> <img class="actor-img" src="/scripts/timthumb.php?src=<?php the_field('img'); ?>&h=90&w=60&zc=1" alt="<?php the_title(); ?>" title="<?php the_title(); ?>"/> <?php the_title(); echo '</a></div>'; endwhile; // Reset Post Data wp_reset_postdata(); ?>
Now how can i display into box-office ..
Forum: Fixing WordPress
In reply to: Need Help pleaseTo retrive the first movie i use the field_type : Relationship
with the meta: locul_1Forum: Fixing WordPress
In reply to: Retrive the content by date… custom field datenobody?
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play inFor several days we all tried to solve this problem on this forum and Mr. haxxxton solved the problem quickly. A true professional. Thanks again.
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play indo you have a Yahoo ID?
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play ini do not thing to get the movies …it shoud use ‘persoane’…because the movies are POSTS
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play incan you connect with TeamView to my pc… to show you better..?
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play ini put this code but i don’t retrive nothing…
<?php //get the actors name from page loop $the_actor = get_post_meta($post->ID, 'persoane', true); //create new loop query for films by this actor $the_query = new WP_Query( array( 'meta_key' => 'persoane', 'meta_value' => $the_actor ) ); // The Loop while ( $the_query->have_posts() ) : $the_query->the_post(); echo '<li>'; the_title(); echo '</li>'; endwhile; // Reset Post Data wp_reset_postdata(); ?>
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play inhaxxton can you connect with teamview to my PC and show me…?
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play inif i add this code…
<?php foreach(get_field('filme_actor') as $relationship): ?>.....
i can link, but i want to do automatic… is to much work to do like this.. in movie and actors…link… if you understand…
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play inFor movies – I am using POST – The movies are post there..
For actors – I am using post_type : persoane , Taxonomy : lista.Ex: In post i add the movie, with title….etc..i’m usig custom field
Picture: https://cinema.trancelevel.com/1.jpgFor displayng the actors,regizor… i’m using relationship.
When i introduce the actor in relationship field, i want automate to get the movie in Actor page…Ex: https://cinema.trancelevel.com/persoane/bruce-willis/
Now the big problem is how can i get the movies in actor page.
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play inyes but i have more actors… i do not want to make another template for another page…
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play inno suport regarding this?
Forum: Fixing WordPress
In reply to: Retrive post by tags PHP codeFor example, i am building a cinema site..
The site is https://www.cinema.trancelevel.com
For movies – I am using post – The movies are post there.. For actors – I am using post_type : persoane , Taxonomy : lista.
How can i retrive the movies play by bruce willis in
https://cinema.trancelevel.com/persoane/bruce-willis/For example, i have : https://cinema.trancelevel.com/the-cold-light-of-day-2012-2/ This movie have Bruce Willis Tag….( this is a regolar post in wp)
In Bruce Willis page i want to retrive the movie…. that have Bruce Willis Tag
In conclusion i want to display the movies that actor play in
I anny body know please help. Thanks in advance