Hallo alle zusammen,
ich bin auf der such nach einem Post Quote Addon welches ungefähr so aussehen sollte wie das im anhang. Wäre klasse wenn da jemand helfen könnte. ;)
MlG
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Sie haben schon ein Benutzerkonto? Melden Sie sich hier an.
Jetzt anmeldenHier können Sie ein neues Benutzerkonto erstellen.
Neues Benutzerkonto erstellenHallo alle zusammen,
ich bin auf der such nach einem Post Quote Addon welches ungefähr so aussehen sollte wie das im anhang. Wäre klasse wenn da jemand helfen könnte. ;)
MlG
Ahhhh ja, wenn du mir nu noch genau sagst wie ich das einbauen muss und wie der text am Ende wirklich aussehen muss wäre ich schon argh zufrieden. :) Wie gesagt, das beste wäre es wenn es ein kleines Plugin dafür gäbe, in dem man einstellen könnte nach welchem Post man gern seine Werbung schalten möchte. Wie gesagt, ich weiss nicht ob das möglich ist. Darum nehme ich auch gern alles andere an was mir bei der Lösung meines Problems hilft. :)
MlG H. Jensen
Ja, wäre schön wenn da jemand helfen könnte. Ich suche sowas schon
länger und habe aber bis lang nichts gefunden. Vieleicht ist ja einer
hier im Forum der sowas kennt ober vieleicht auch sowas Coden kann. :)
MlG H. Jensen
Hallo alle zusammen,
ich bin auf der suche nach einem Plugin mit dem ich Ads auf meinem Blog einbinden kann. Normal ist das ja nicht so das Problem aber ich habe da einen Speziellen Wunsch. Die Ads sollen ZWISCHEN meinen Normalen Posts stehen. Das heisst, erst kommt Post Nr. 1, dann zb ein Ad Eintrag, dann wieder ein Post usw. Am liebsten wäre es mir wenn man einstellen könnte wann bzw nach welchem Post eine Werbung eingeblendet werden kann und es sollte wirklich ein Plugin sein. Ich möchte gern Text oder Banner Ads anzeigen lassen oder auch mal einen längeren Text mit Links.
Ich weiss nicht ob es sowas gibt, wäre klasse wenn jemand sowas kennt es hier mal zu posten. :)
Vielen lieben dank schon mal!
H. Jensen
Hallo alle zusammen,
ich bin gerade dabei cForms II einzubauen. Nun habe ich das problem das ich absolut nich weiss wie ich zb ein link zu meinem formular in einem post einbinden kann sodas der posttitel von dem aus der cForms link aufgerufen wurde übernommen wird. Also das der posttitel dann in einem dafür vorgesehenen feld erscheint. Ich hoffe das man mir hier helfen kann ;)
MfG Hannes
Hallo alle zusammen,
ich habe hier ein plugin gefunden welches so in etwa meinen vorstellungen entspricht mit dem ich ein random link in meinen posts anzeigen lassen kann. Allerdings zeigt er mir stat der link namen ein button an. Kann man das plugin irgendwie so ändern das mir direkt der link angezeigt wird, also zb
(Das hier ist ein Link) das er also den link text auch aus der besagten kategorie nimmt?! Müsste doch machbar sein oder? Ich hoffe das ihr mir weiterhelfen könnt. vielen dank für eure hilfe! ;)
Das plugin als code:
<?php
/*
Plugin Name: Random Link Button
Plugin URI: http://www.u-g-h.com/?page_id=114
Description: Adds a new function which picks a link at random from a specified category. Usage: Add the term <code><?php randomlinkbutton(); ?></code> to your template where you wish the RandomLinkButton to appear, or if you use widgets, the button will appear automatically in your widget window.
Version: 0.5
Author: Owen Cutajar
Author URI: http://www.u-g-h.com
*/
/* History:
v0.1 - OwenC - Created base version
v0.2 - jnicholi (http://www.jnicholi.com) - Turned into a widget
v0.3 - OwenC - Added support for both widget and non-widget users
v0.4 - jnicholi & OwenC - Added category support + open in different window option
v0.5 - OwenC - Upgraded to WordPress 2.1 compliance
*/
function widget_randomlinkbutton_init() {
if ( !function_exists('register_sidebar_widget') )
return;
function widget_randomlinkbutton($args) {
extract($args);
$options = get_option('randomlinkbutton');
$title = $options['title'];
$category = $options['category'];
$image = $options['image'];
$target = $options['target'];
echo $before_widget . $before_title . $title . $after_title;
docommon_randomlinkbutton ( $category , $image , $target );
echo $after_widget;
}
function widget_randomlinkbutton_control() {
global $wpdb;
$options = get_option('randomlinkbutton');
if ( !is_array($options) )
// Set cat to 1 as default
$options = array( 'title'=>'Random Links', 'category'=>'', 'image'=>'/randombutton.jpg', 'target'=>'');
if ( $_POST['randomlink-submit'] ) {
// Change sidebar title
$options['title'] = strip_tags(stripslashes($_POST['randomlink-title']));
$options['category'] = strip_tags(stripslashes($_POST['randomlink-category']));
$options['image'] = strip_tags(stripslashes($_POST['randomlink-image']));
$options['target'] = strip_tags(stripslashes($_POST['randomlink-target']));
update_option('randomlinkbutton', $options);
}
$title = htmlspecialchars($options['title'], ENT_QUOTES);
$category = htmlspecialchars($options['category'], ENT_QUOTES);
$image = htmlspecialchars($options['image'], ENT_QUOTES);
$target = htmlspecialchars($options['target'], ENT_QUOTES);
// Get category list to display in widget control panel
$results = get_categories("type=link");
echo '<p style="text-align:right;"><label for="randomlink-title">' . __('Title:') . ' <input style="width: 200px;" id="randomlink-title" name="randomlink-title" type="text" value="'.$title.'" /></label></p>';
echo '<p style="text-align:right;"><label for="randomlink-image">' . __('Image Location:') . ' <input style="width: 200px;" id="randomlink-image" name="randomlink-image" type="text" value="'.$image.'" /></label></p>';
// Display categories available as a drop down menu
echo '<p style="text-align:center;"><label for="randomlink-category">' . __('Category:') . ' <select id="randomlink-category" name="randomlink-category">';
foreach ($results as $result) {
echo '<option value="'.$result->link_category.'">'.$result->link_category.': '.$result->cat_name.'</option>';
}
echo '</select></p>';
// end category menu
echo '<p style="text-align:center;"><label for="randomlink-target">' . __('Target:') . ' <select id="randomlink-target" name="randomlink-target">';
echo '<option value="" >Open link in the same window</option>';
echo '<option value="new">Open link in a new window</option>';
echo '</select></p>';
echo '<input type="hidden" id="randomlink-submit" name="randomlink-submit" value="1" />';
}
register_sidebar_widget(array('Random Link', 'widgets'), 'widget_randomlinkbutton');
register_widget_control(array('Random Link', 'widgets'), 'widget_randomlinkbutton_control', 300, 130);
;
}
function randomlinkbutton(){
$options = get_option('randomlinkbutton');
$title = $options['title'];
$category = $options['category'];
$image = $options['image'];
$target = $options['target'];
docommon_randomlinkbutton ( $category, $image, $target );
}
function docommon_randomlinkbutton( $category = 0 , $image = "/randombutton.jpg" , $target = '') {
global $wpdb;
$results = get_bookmarks("category=$category&orderby=rand&limit=1");
// loop caters for 0 results (no image) or multiple results (which shouldn't happen)
foreach ($results as $result) {
// fill out variables from database
$link_url = $result->link_url;
$link_name = $result->link_name;
echo '<a href="'.$link_url.'" title="'.$link_name.'"';
if ($target == 'new') echo ' target="_blank"';
echo '><img border="0" src="'.$image.'" class="randombutton"></a>';
}
}
function randomlinkbutton_options() {
// Note: Options for this plugin include a "Title" setting which is only used by the widget
$options = get_option('randomlinkbutton');
//set initial values if none exist
if ( !is_array($options) ) {
$options = array( 'title'=>'Random Links', 'category'=>'', 'image'=>'/randombutton.jpg', 'target'=>'');
}
if ( $_POST['randomlink-submit'] ) {
$options['category'] = strip_tags(stripslashes($_POST['randomlink-category']));
$options['image'] = strip_tags(stripslashes($_POST['randomlink-image']));
$options['target'] = strip_tags(stripslashes($_POST['randomlink-target']));
update_option('randomlinkbutton', $options);
}
$category = htmlspecialchars($options['category'], ENT_QUOTES);
$image = htmlspecialchars($options['image'], ENT_QUOTES);
$target = htmlspecialchars($options['target'], ENT_QUOTES);
// Get category list to display in drop down list
$cats = get_categories("type=link");
?>
<div class="wrap">
<h2><?php _e('Contact Form Options') ?></h2>
<form name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=randomlinkbutton.php">
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
<tr valign="top">
<th scope="row"><?php _e('Image Location:') ?></th>
<td><input name="randomlink-image" type="text" id="randomlink-image" value="<?php echo $image; ?>" size="80" />
<br />
<?php _e('Enter the location of an image for the random button. For example, if the image is in the root of your website and called randomimage.jpg, use "/randomimage.jpg" ') ?></td>
</tr>
<tr valign="top">
<th scope="row"><?php _e('Category:') ?></th>
<td>
<select id="randomlink-category" name="randomlink-category">
<option value=""><< All Categories >></option>
<?php
foreach ($cats as $cat) {
echo '<option value="'.$cat->cat_ID.'"';
if ($cat->cat_ID == $category)
echo ' selected ';
echo '>'.$cat->cat_ID.': '.$cat->cat_name;
echo '</option>';
} ?>
</select>
<br />
<?php _e('Specify the category to select a link from.') ?></td>
</tr>
<tr valign="top">
<th scope="row"><?php _e('Target:') ?></th>
<td>
<select id="randomlink-target" name="randomlink-target">
<option value="" <?php if ($target=='') echo 'selected'; ?>>Open link in the same window</option>
<option value="new" <?php if ($target=='new') echo 'selected'; ?>>Open link in a new window</option>
</select>
<br />
<?php _e('Choose whether you would like the link to open in the same window or a new window ') ?></td>
</tr>
</table>
<input type="hidden" id="randomlink-submit" name="randomlink-submit" value="1" />
<p class="submit">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?> »" />
</p>
</form>
</div>
<?php
}
function randomlinkbutton_adminmenu(){
if (function_exists('add_options_page')) {
add_options_page('Random Link Button Options', 'Random Link Button', 9, 'randomlinkbutton.php', 'randomlinkbutton_options');
}
}
add_action('widgets_init', 'widget_randomlinkbutton_init');
add_action('admin_menu','randomlinkbutton_adminmenu',1);
?>
Alles anzeigen
Link zur plugin homepage: Klicke Hier
MfG Hannes
Danke erst mal für die antworten. ;)
Also ich möchte gerne am ende meiner posts einen random link generieren lassen (textlink), der aus einer bestimmten wordpress link-kategorie generiert werden soll. Also als beispiel, ich habe einen post verfasst und möchte am ende des posts noch einen random link aus meiner blogroll druntersetzen.
Bei jedem seitenaufruf soll dann ein anderer random link unter dem post stehn.
Das muss doch irgendwie gehn oder? ;)
MfG Hannes
Hat wirklich niemand ne idee wie ich das machen könnte? *wunder*
MfG Hannes
Ok problem hat sich erledigt ;)
MfG Hannes
Hallo,
sagt mal gibt es eine möglichkeit mir unter einem post (am ende des posts)
ein random link anzeigen zu lassen der aus einer bestimmten kategorie kommt?
MfG Hannes
Keiner mehr der helfen kann? Kann ich mir ja kaum vorstellen ;)
MfG Hannes
Hoffe das mir noch jemand weiterhelfen kann ;)
MfG Hannes
Also hier ist mal die url zum meinem Blog. Ist aber wiegesagt alles noch in der
entstehung. Klick Hier
Aber es gehr ja auch nur darum das der Link unter den Bildern den gleichen
Mouse-Over effekt haben soll wie zb die Links in den sitebars die Bilder
aber unberührt bleiben sollen.
MfG Hannes
Das hat auch nicht den erwünschten Effek gebracht, dann ist zwar der
Rahmen um das Bild weg (was nicht sinn der Sache ist) aber den Hover
Effekt hat es trotzdem noch.
MfG Hannes
Nochmals danke, aber das hat leider auch nich den erwünschten Effekt vollbracht. ;/
MfG Hannes
Das hier ist meine css datei.
body
{
font-family:'Verdana';
font-size:10px;
}
#headline h2
{
font-size: 12px;
color: #ba0000;
margin-top: -10px;
padding: 0px;
}
#description
{
position:absolute;
top:20px;
text-decoration: none;
padding-bottom: 10px;
font-family:Arial, Helvetica, sans-serif;
font-weight:bold;
margin-top:6px;
font-size: 12px;
color: #ba0000;
}
#title
{
position:absolute;
width:965px;
top:0px;
font-family: 'Verdana';
font-weight:bold;
font-size: 20px;
color: #0e497f;
margin: 0px;
padding: 0px;
}
div.hr
{
position:absolute;
height:3px;
background:#fff url(images/hr.gif) repeat-x scroll center;
width:965px;
padding-bottom:15px;
}
#search
{
position:absolute;
right:0px;
margin-top:10px;
float:right;
padding:0;
top: 7px;
}
input#searchsubmit
{
background:#0e497f;
border:2px solid #ba0000;
color:#FBFBFC;
font-size:13px;
}
#wrap
{
width:965px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color:#666;
margin:0 auto;
}
#header
{
height:50px;
width:965px;
position:relative;
color:#000;
margin-bottom:3px;
padding:0;
}
#header h1
{
text-indent:-10000px;
margin:0;
padding:0;
}
a:hover
{
text-decoration:none;
color:#555353;
border:none;
}
.left
{
float:left;
width:170px;
border:3px solid #f3f3f3;
margin:10px 0;
padding:10px;
}
.right
{
float:right;
width:170px;
border:3px solid #f3f3f3;
margin:10px 0;
padding:10px;
}
.right img
{
border:0;
display:block;
margin-left:auto;
margin-right:auto;
}
.middle
{
width: 530px;
font-size: 11px;
line-height: 16px;
overflow: hidden;
padding: 10px;
border: 3px solid #f3f3f3;
margin: 10px auto;
margin-top:13px;
}
.middle h4
{
font-size:16px;
border-bottom:dashed 1px #ccc;
margin:0 7px 3px 0;
padding:3px 0;
}
.middle img
{
border:2px #0e497f solid;
}
.toplist img
{
border:0px #eee solid;
}
.pagebar
{
margin-top:10px;
position: relative;
line-height:16px;
margin-left:10px;
float:left;
width:527px;
border:3px solid #f3f3f3;
overflow:hidden;
padding:10px;
font-size:11px;
margin-bottom:20px;
text-align:center;
}
.ads
{
margin-top:10px;
line-height:16px;
margin-left:10px;
float:left;
width:510px;
border:3px solid #f3f3f3;
text-align:center;
padding:10px;
}
.ads img
{
border:0;
text-align:center;
}
img.wp-smiley
{
border:0;
padding:0;
}
#footer
{
width:945px;
margin-top:20px;
text-align:center;
clear:both;
padding:10px;
background: top url(images/hr.gif) repeat-x center;
}
div.br
{
height:10px;
background:#fff url(images/br.gif) repeat-x scroll center;
clear:both;
}
.alignright
{
float:right;
}
.alignleft
{
float:left;
}
.gcomment
{
border-left:none;
vertical-align:middle;
border-right:none;
margin-bottom:3px;
border-bottom:1px solid #f3f3f3;
background-color:#F7F7F7;
padding:3px;
}
.ucomment
{
border-left:none;
border-right:none;
margin-bottom:3px;
border-bottom:1px solid #f3f3f3;
background-color:#fbfbf1;
padding:3px;
}
input#submit
{
background:#fc6;
border:2px solid #f93;
color:#fff;
font-size:13px;
}
ol.commentlist
{
margin:0 0 1px;
padding:0;
}
ol.commentlist li
{
list-style:none;
margin:0;
padding:13px 13px 1px;
}
ol.commentlist li.commenthead
{
list-style:none;
margin:0;
}
ol.commentlist li.commenthead h2
{
margin:0;
}
.addthis
{
float:right;
clear:both;
}
a:link,a:active,a:visited
{
text-decoration:none;
color:#416e90;
border:none;
}
.left h2,.comments h3
{
font-size:14px;
border-bottom:dashed 1px #ccc;
margin:0 7px 3px;
padding:3px 0;
}
.left ul,.right ul
{
list-style-type:none;
margin:0;
padding:0;
line-height:150%;
font-size:11px;
}
.left ul li,.right ul li
{
list-style-type:none;
margin:0 0 20px;
padding:0;
}
.left ul li ul,.right ul li ul
{
list-style-type:square;
margin:0;
padding:0 3px;
}
.left ul li ul li,.right ul li ul li
{
list-style-type:none;
background:transparent url(images/bullet.gif) no-repeat 0 4px;
border:0;
margin:0;
padding:0 0 2px 14px;
}
.left ul li ul li :hover
{
border-bottom:#ba0000 1px solid;
}
.right h2,.comments h3
{
font-size:14px;
border-bottom:dashed 1px #ccc;
margin:0 7px 3px;
padding:3px 0;
}
.right ul,.right ul
{
list-style-type:none;
margin:0;
padding:0;
line-height:150%;
font-size:11px;
}
.right ul li,.right ul li
{
list-style-type:none;
margin:0 0 20px;
padding:0;
}
.right ul li ul,.right ul li ul
{
list-style-type:square;
margin:0;
padding:0 3px;
}
.right ul li ul li,.right ul li ul li
{
list-style-type:none;
background:transparent url(images/bullet.gif) no-repeat 0 4px;
border:0;
margin:0;
padding:0 0 2px 14px;
}
.right ul li ul li :hover
{
border-bottom:#ba0000 1px solid;
}
div.hr hr,div.br br
{
display:none;
}
.middle2,.middle3
{
margin-top:10px;
line-height:16px;
margin-left:10px;
float:left;
width:237px;
border:3px solid #f3f3f3;
overflow:hidden;
padding:10px;
}
.middle2 h2,.middle3 h2
{
font-size:14px;
border-bottom:dashed 1px #ccc;
margin:0 7px 3px 0;
padding:3px 0;
}
.middle2 :hover,.middle3 :hover
{
background:#fafafa;
}
.ucomment img,.addthis img
{
border:0;
}
.left ul li h2
{
font-family:Verdana, Arial, Helvetica, sans-serif;
color: #ba0000;
font-size:12px;
}
.right ul li h2 {
font-family:Verdana, Arial, Helvetica, sans-serif;
color: #ba0000;
font-size:12px;
}
.middle h5
{
font-size:14px;
border-bottom:dashed 1px #ccc;
margin:0 7px 3px 0;
padding:3px 0;
}
#middle-bottom
{
width: 530px;
border: 3px solid #f3f3f3;
padding: 10px;
margin: 10px auto;
text-align: center;
}
.middle img:hover
{
text-decoration:none;
}
.entry a:hover
{
border-bottom: #ba0000 1px solid;
}
Alles anzeigen
Vieleicht kann ja damit jemand was anfangen *hoff*
MfG Hannes
Danke für die Antwort, aber es ändert leider nix an dem Problem. Die Bilder
werden immer noch unterstrichen.
Hoffe das jemand eine Lösung parat hat, die das Problem löst. ;)
MfG Hannes
Hallo alle zusammen,
ich habe da ein Problem. Ich möchte in einem Post Bilder (Thumbs) und Links posten.
Die Links sollen ein Mouse-Over-Effekt haben (also das der Link beim Mouse-Over unterstrichen wird).
Nun habe ich aber das Problem, dass, wenn ich das einstelle, er mir auch die Bilder unterstreicht
(beim Mouse-Over). Kann ich diese beiden Sachen nicht irgendwie trennen, so dass der Hover-Effekt nur
auftritt, wenn ich über ein Link gehe?
MfG Hannes
Ok dank erstklassiger hilfe im IRC ist mein problem gelöst! ;)
Danke Puttee!
MfG Hannes
Ja ok, aber wenn ich das mache dann sieht das echt übel aus.... also alleine
das ist es nicht. Hoffe das mir hier jemand weiterhelfen kann der sich auch mit dem css kram auskennt ;)
Trotzdem vielen dank
MfG Hannes