muckelchen
Forum Replies Created
-
WOW!!
Great Support!!
THX!! It works fine perfect ??
best regards
rw
This is my function.php from the theme:
i dont now where must be the code..
greets
rwHello,
yes i will work with FTP ??so i take this Code in the function.php of the theme
add_filter( 'promoslider_custom_query_results', 'my_query_results' ); function my_query_results( $results ) { $posts = get_posts( array( 'category' => 13 // You will need to lookup ID of category 'numberposts' => 5, ) ); $promotions = get_posts( array( 'post_type' => 'ps_promotions', 'numberposts' => 5, ) ); $results = array_merge( $posts, $promotions ); return $results; }
then came this on the side:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘)’ in /kunden/xxxxxxxx/webseiten/xxxxxxxxxxx/wordpress/wp-content/themes/xxxxxxx/functions.php on line 32i take this code at the bottom of the function.php from the theme..
mhh i dont now why isnt work..
idea?
best regards
rwi do this code:
add_filter( 'promoslider_custom_query_results', 'my_query_results' ); function my_query_results( $results ) { $posts = get_posts( array( 'numberposts' => 5, ) ); $promotions = get_posts( array( 'post_type' => 'ps_promotions' 'numberposts' => 5, ) ); $results = array_merge( $posts, $promotions ); return $results; }
in the themes function.php
then the site does not work.. this will be on the startpage:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘)’ in /kunden/xxxxxxxxx/webseiten/xxxxxxxxxxxx/wordpress/wp-content/themes/xxxxxxxx/functions.php on line 34
the x i make in this string.
so i dont now what to do….:-(
greets
rwHello,
thx for the code.i have just one more question too..
at the posts i want not the 5 most recent posts, just only 5 from one category of the posts. this category is named “slider”.must the code the same ? ore a little bit different?
greets
rw.
Please can you say me.. the new code here? i need the promotion and post category slider.
<?php /** Template Name: Startseite * Description: * @package WordPress * @subpackage Toolbox */ get_header(); ?> <div id="primary"> <? the_breadcrumb(); ?> <div id="content" role="main"> <?php if ( is_front_page() ) { ?><?php echo do_shortcode('[promoslider width="624px"]') ?> <?php } ?> <?php if ( is_front_page() ) { ?> <? include (TEMPLATEPATH . '/sidebar-home.php'); ?><?php } ?> <?php the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php if (function_exists('kc_add_social_share')) kc_add_social_share(); ?> </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar(); ?> <?php get_footer(); ?>
ok .. i take this code to my code too.. but i dont now custom query results..
wich querys i can do??
can you explain me?best regards
rw.Hello,
thx for reply..
I make step 3 and 4 but ist not working fine.
It′s very important for me to take the Blog posts AND the promotion posts on the startpage..
i make this code in the page:
<?php echo do_shortcode(‘[promoslider width=”624px”]’) ?> <?php } ?>
so i see only the promoslider now i want the Blogposts category “slider”so i mean. i will write a blog.. so i checkbox the category slider.. this i want to see on the startpage too..
the other problem is not soo improtant. (The linkproblem)
examplei make a new promotion .- only a articelpicture and change linking behavior ( i set a link in dest. URL.)
this works fine.
so i have a picture only and the link..
second i make a articel/blog .. write this .. make a articelpicture und klick on checkbox slider.
and this two examples i will see on the startpage..
i hope you understand my english.. sorry for that..
but its very important for me now..best regards
r.wHello,
i have the same problem too. i changend the permalink.. the plug in doesnt work. ( error page ).
please can you say why?
i installed the WP3.3.1
promotion slider 3.3.1 too.and by the way: i want to take some posts from the promotionslider and some posts from my blog (posts) in ONE slider. how does it work?
sorry for my english.
greets from germany..
r.wHello,
i want to change the background (the shadow) in the widget, but i dont no where in the css.i think you can tell me how?
best regards from germany.muckelchen
PLease help me.
i have the same prob.
i have a custom permalink: /%postname%/ <– and i need this link!
so the events will not shown on my site. only site not found.
please help me..
sorry for my english.. (german guy)
muckelchen