IK heb de customize community plugin op mijn site geďnstalleerd om ervoor te zorgen dat als je je bijv. registreert hij niet meer naar de lelijke wordpress pagina's gaat maar dit gewoon in de template zelf doet.
Voorbeeld: http://www.autohd.nl/wp-login.php?action=register
Het enige probleem is is dat er iets niet goed gaat in de plugin. Dit is de instructie die bij de plugin hoort:
Look at your single post template file in your blog theme (usually single.php) and find every div tag that is opened (<div>) but not closed (</div>) before the following piece of code:
<?php the_content(); ?>
After finding them, insert all of those div tags into Box One.
Next, look for the piece of code that calls for your sidebars. I use the Thesis theme, so mine is:
<?php thesis_get_sidebars(); ?>
But yours may look more like this:
<?php get_sidebar(); ?>
Once you find the sidebar code, look to see how many of the <div> tags you put into Box One are closed BEFORE the sidebar code appears and insert those div close tags (</div>) into Box Two.
Next, look to see how many of the <div> tags you put into Box One are closed AFTER the sidebar code appears and insert those div close tags (</div>) into Box Three.
Wat ik heb gedaan is deze divs in box 1:
<div class="posts" style="padding-top:0px;">
<div class="postdescription">
en deze in box 2:
</div>
</div>
In box 3 heb ik niks omdat er geen div word gesloten na het includen van de sidebar.
Dit is mijn single.php
Hebben jullie enig idee wat ik fout doe?PHP Code:
<?php get_header(); ?>
<?php $i=1;while (have_posts()) : the_post(); ?>
<?php
$arc_month = get_the_time('M');
$arc_day = get_the_time('d');
?>
<div class="posts" style="padding-top:0px;">
<div class="postsinfo">
<div class="postsdate">
<div class="day"><?php echo $arc_day; ?></div>
<div class="month"><?php echo $arc_month; ?></div>
</div>
<div class="poststitles">
<h1 class="posttitle"><?php the_title(); ?></h1>
<div class="categories"><span>Published By: </span><?php the_author_posts_link() ?><span> Related entries: </span>
<?php the_category(', ')?>
<?php the_tags('<span> Tags: </span>', ', ', ''); ?>
</div>
</div>
<div class="clear"></div>
</div>
<script type="text/javascript">
google_ad_client = "<?php echo get_option('ti_pubid');?>";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_color_border = "ffffff";
google_color_bg = "ffffff";
google_color_link = "474747";
google_color_text = "000000";
google_color_url = "BC090E";
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<div class="postdescription">
<?php the_content(''); ?>
<div class="clear"></div>
</div>
<div class="social">
<script type="text/javascript">
google_ad_client = "<?php echo get_option('ti_pubid');?>";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text";
google_color_border = "ffffff";
google_color_bg = "ffffff";
google_color_link = "474747";
google_color_text = "000000";
google_color_url = "BC090E";
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>
</div>
<?php $i++; endwhile; ?>
<?php comments_template(); ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
- Hulp gevraagd bij Wordpress plugin: Customize your Community
-
30-10-2009, 14:44 #1
- Berichten
- 294
- Lid sinds
- 15 Jaar
Hulp gevraagd bij Wordpress plugin: Customize your Community
-
In de schijnwerper
-
08-11-2009, 03:54 #2
- Berichten
- 223
- Lid sinds
- 15 Jaar
Dit is intussen al opgelost?
Plaats een
- + Advertentie
- + Onderwerp
Marktplaats
Webmasterforum
- Websites algemeen
- Sitechecks
- Marketing
- Domeinen algemeen
- Waardebepaling
- CMS
- Wordpress
- Joomla
- Magento
- Google algemeen
- SEO
- Analytics
- Adsense
- Adwords
- HTML / XHTML
- CSS
- Programmeren
- PHP
- Javascript
- JQuery
- MySQL
- Ondernemen algemeen
- Belastingen
- Juridisch
- Grafisch ontwerp
- Hosting Algemeen
- Hardware Info
- Offtopic