gbennyb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Multiple widget areasuseful answer alchymyth….
try that:
https://www.ads-software.com/support/topic/how-to-create-new-widget-area?replies=5Forum: Plugins
In reply to: [PollMe] [Plugin: PollMe] PHP call instead of [PollMe]Dear DCoda,
thank you for the quick reply, and i am sorry for the missunderstanding, i thought it might be a quick – just not documented – hint/feature. It turns out that PollMe is the only free poll PlugIn which works properly with WP network integrations, that is why i was asking. WP Polls and WP Simple Survey didn’t do the job for unknown reasons.
It looks like i will have to wait for your plugin to feature it or test the commercial products, but where to start….
However, thank you,
gbennybForum: Plugins
In reply to: [PollMe] [Plugin: PollMe] PHP call instead of [PollMe]… i mean the a widget would be cool ??
Forum: Plugins
In reply to: [PollMe] [Plugin: PollMe] PHP call instead of [PollMe]tried <?php pollme(‘1stPoll’) ?>, but doesn’t work…
Forum: Plugins
In reply to: [Plugin: HTML5 and Flash Video Player] Wrong directory?i did not get it running properly as well, you might want to try Projekktor instead, i am just testing it and for now, it looks good, i just have troubles with the playlist currently
Forum: Plugins
In reply to: Looking for HTML5 Video GalleryMaybe Projekktor handles the job? give it a try…. https://www.ads-software.com/extend/plugins/projekktor-html5-video-extensions-and-shortcodes/
Forum: Themes and Templates
In reply to: Round Corners on images / Rounded / Curved image cornersNo, i need this functionality for the standard image integration in a post.
So depending if you align the image right, left or centered, the curved/rounded corners should be right, left or all around (centered).
i thought this here might a solution, but i cannot tell users to wrap a span around, or can i?
https://www.webdesignerwall.com/tutorials/css3-rounded-image-with-jquery/any other, better idea?
Forum: Fixing WordPress
In reply to: using the insert embeded media buttoni had the same troubles…. The “trick” is simple, but stupid:
you have to use a SWF file, not the FLV format.FLV is the Flash Video format
SWF defines a Flash object which can contain different Flash integration like i.e. a flash video, but also other Flash objects.
I used the orginal Adobe Flash software to do so, but you might also use some other tools: https://encrypted.google.com/search?q=convert+flv+to+swf
Forum: Plugins
In reply to: [Plugin: wordTube] cannot resize playeri couldn’t find the setting options documentation from Alex Rabe as well, but this seems to work:
[media id=1 width=200 height=200]
same for playlist….
Forum: Themes and Templates
In reply to: Header problemyou have this code in your css:
#header { background: #73a0c5 url('ahttps://www.piknik.se/wp-content/uploads/2009/12/logo_piknik.jpg') no-repeat bottom center; } #headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }
and thisone on you header.php
<div id="header" role="banner"> <div id="headerimg"> <h1><a href="https://www.piknik.se/"></a></h1> <div class="description"></div></div> </div>
1.) you should cleanup your header.php.
remove i.e. the<div class="description"></div>
and do you need the<h1><a href="https://www.piknik.se/"></a></h1>
2.) i would try to move the image from the #header to the #headerimg
#header { } #headerimg { background: #73a0c5 url('ahttps://www.piknik.se/wp-content/uploads/2009/12/logo_piknik.jpg') no-repeat bottom center; margin: 7px 9px 0; height: 192px; width: 740px; }
i am not totally sure that this is what you want to achieve, but give it a try and have a look yourself.
good luck,
bbForum: Themes and Templates
In reply to: Two different themes for the same web sitewhat do you mean with two different css?
in which case?you mean depeding on the time?
i.e. 8 a.m. = 8am.css and 8 p.m. = 8pm.cssif so, check this for different classes:
https://www.philworks.com/blog/2009/01/18/different-css-style-depending-on-the-time.htmlor this here for different stylesheets:
https://css-tricks.com/forums/viewtopic.php?f=8&t=2207you could also have different stylesheets randomly picked:
https://forum.mamboserver.com/showthread.php?t=61029So, i would say, yes, you can use two different stylesheets depending on the case you expect.
Forum: Themes and Templates
In reply to: img src not workingAs WizardRegis mentioned, this should work:
body {
background-image: url(‘images/01.jpg’);
background-repeat: no-repeat;
background-attachment: fixed;}
as you have to get the path from where the *.css is located.
Forum: Fixing WordPress
In reply to: Posts from single category in home.phpThis was the link to the page with the solution for me issue….
Forum: Fixing WordPress
In reply to: Posts from single category in home.phpit is always good posting a message here, so i finally find the solution for it somewhere else.
This fixes my issues:
<?php $temp_query = $wp_query; ?> <?php query_posts('category_name=MYCATEGORYNAME&showposts=5'); ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> <?php the_excerpt(); ?> </div> <?php endwhile; ?>
Forum: Plugins
In reply to: is_home issue with the_content displayof course, how stupid from me, sorry.
Here is – as reference – the complete solution:
<div id="content"> <?php if (is_home()) { $topposts = get_posts('p=51'); foreach($topposts as $post) : setup_postdata($post); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h3 id="post-header"><?php the_title(); ?></h3> <div class="entry"> <?php the_content(); ?> </div> <?php if ($post->post_excerpt != '') { ?> <div class="excerpt"> <?php echo $post->post_excerpt; ?> </div> <?php } ?> </div> <?php endforeach; ?> <?php } ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php // check if the post belongs directly to the current category; // continue if not $current_categories = get_the_category(); $found_category = false; foreach ($current_categories as $current_category) { if ($current_category->term_id == $cat) { $found_category = true; // counting level $level = 0; while ($current_category->parent != 0) { $current_category = get_category($current_category->parent); $level = $level + 1; } break; } } if (!$found_category) { continue; } ?> <div class="post" id="post-<?php the_ID(); ?>"> <h3 id="post-header"><?php the_title(); ?></h3> <div class="entry"> <?php the_content() ?> </div> <?php if ($post->post_excerpt != '') { ?> <div class="excerpt"> <?php echo $post->post_excerpt; ?> </div> <?php } ?> </div> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?> </div>
You can replace the p=51 with the post id you’d prefer to get displayed.
Thank You esmi for your support!