Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter vozer

    (@vozer)

    Wonderful! Thank you so much! Thats it!

    Thread Starter vozer

    (@vozer)

    yes, i will put a request there. Unfortunately since the plugin is no longer supported by the author and is also quite “old”, i cant see, that anybody will answer there very soon or ever.

    Thread Starter vozer

    (@vozer)

    hello james!
    thanks for your tip!
    I figured out, that it seems to be the theme, that is making the call.

    Unfortunately i cant find the line of code in the theme that is making problems.
    I tried searching all the files for a call to /home, but couldnt figure it out.

    Any chance you have another tip how to find the flawed code?

    • This reply was modified 7 years, 6 months ago by James Huff. Reason: theme download link removed
    Thread Starter vozer

    (@vozer)

    Hey!

    Thx for the good lead!

    I got it now:

    It spills me all the posts with entwerfen3 in the custom field cf_cf_Lehrveranstaltung.

    But since i didn´t understand what´s the GET-variable and where to put it i used the_permalink

    Yuu can see the living example here:
    http://web318.login-11.hoststar.at/ben/xarch/azall/?page_id=29

    But now to the thing: How can i get a dropdown with all the meta-values listed to work? (for now doesnt need to be ajax, in can reload the page)

    <?php
    
    /**
     * Template Name: Projekte
     *
     * The portfolio page template displays your portfolio items with
     * a switcher to quickly filter between the various portfolio galleries.
     *
     * @package WooFramework
     * @subpackage Template
     */
    
    global $woo_options;
    get_header();
    ?>
    	 <div id="content" class="page col-full">
    		<div id="main" class="col-left">
    
    		<?php if ( isset( $woo_options['woo_breadcrumbs_show'] ) && $woo_options['woo_breadcrumbs_show'] == 'true' ) { ?>
    			<div id="breadcrumbs">
    				<?php woo_breadcrumbs(); ?>
    			</div><!--/#breadcrumbs -->
    		<?php } ?>  
    
                <div <?php post_class('drop-shadow lifted'); ?>>
    
    			    <h1 class="title"></h1>
    
    				<div class="entry">
    
    <?php
    
    $args= array(
    	'meta_query' =>  array(
    	array(
    			'key' => 'cf_cf_Lehrveranstaltung',
    			'value' => 'Entwerfen3',
    			'compare' => 'LIKE'
    			))
    			);
    
    // The Query
    
    // The Loop
    $the_query = new WP_Query( $args );
    
    // The Loop
    while ( $the_query->have_posts() ) :
    	$the_query->the_post();
    	echo '<li>' . get_the_title() . '</li>';
    endwhile;
    
    ?>
    </div>
    			<div class="clear"></div>
                </div><!-- /.post -->
    
    		</div><!-- /#main -->
    
            <?php get_sidebar(); ?>
    
        </div><!-- /#content -->
    
    <?php get_footer(); ?>

    ben

    Thread Starter vozer

    (@vozer)

    Hey!

    Thanks. I read myself into it and tried the most important add_post_content add_filter and add-Action and also searched the plugin-code again, but i just cant find the hook..

    Website in Question:
    http://web318.login-11.hoststar.at/ben/kleinraum/fotoexpo/?p=116

Viewing 5 replies - 1 through 5 (of 5 total)