thaiso
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Hi,
How would I go about placing the same: a link, thumbnail and post title of the parent post on the child post?
Thanks
I got the below to work, probably not the best code in the world but does the job.
How would do the same, add link, image and title for the Parent custom posts page on the Child page??
$child_posts = types_child_posts('students'); foreach ($child_posts as $child_post) { $var_i = get_the_post_thumbnail( $child_post->ID ); $var_l = post_permalink( $child_post->ID ); $var_t = $child_post->post_title; echo "<div style='float:left; text-align:center;width:300px;display:inline-block;padding-right:5px;'>"; echo "<a href='".$var_l."'>".$var_i." </a>"; echo "<p><a href='".$var_l."'>".$var_t."</a></p></div>";Forum: Plugins
In reply to: [Transposh WordPress Translation] Custom CSS file for translations…Hi Ofer,
Just tried the new line:
<link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ).’-‘. transposh_get_current_language(); ?>” >I just get the same css file called no language code.
But I tried adding <?php echo transposh_get_current_language(); ?> and I get the language code come up. How would I add that to call the css file?
Thanks for help on this
Viewing 3 replies - 1 through 3 (of 3 total)