Marcus Spanier
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Multiple taxonomy with next_post_linkHi. I really doen’t understand all your problems.
You can take this to generate a link to a post:
<a href="<?php the_permalink(); ?>Read more ...</a>In your code (http://wordpress.org/support/topic/multiple-taxonomy-with-next_post_link?replies=13#post-3931745) is a permalink in line 15. The Excerpt is in the “” and the “” Tags
And only can guess that you will do this? I think this is the solution:
<?php /** * @category Fishpig * @package Fishpig_Wordpress * @license http://fishpig.co.uk/license.txt * @author Ben Tideswell <help@fishpig.co.uk> */ ?> <?php $posts = $this->getPosts() ?> <?php if (count($posts) > 0): ?> <div class="block-content"> <?php foreach($posts as $post): ?> <?php $post->setExcerptSize($this->getExcerptLength()) ?> <?php if ($this->canDisplayExcerpt()): ?> <p class="post-excerpt"> <?php $content = $post->getPostExcerpt(); $content = strip_tags($content); echo substr($content, 0, 250); ?> </p> <p style="text-align: right;"><a href="<?php echo $post->getPermalink() ?>">Read more</a></p> <?php endif; ?> <?php endforeach; ?> <script type="text/javascript">decorateList('<?php echo $this->getListId() ?>')</script> <?php if ($this->canShowPager()): ?> <?php echo $this->getPagerHtml() ?> <?php endif; ?> </div> <?php endif; ?>Forum: Developing with WordPress
In reply to: Multiple taxonomy with next_post_linkTry this:
<?php /** * @category Fishpig * @package Fishpig_Wordpress * @license http://fishpig.co.uk/license.txt * @author Ben Tideswell <help@fishpig.co.uk> */ ?> <?php $posts = $this->getPosts() ?> <?php if (count($posts) > 0): ?> <div class="block-content"> <?php foreach($posts as $post): ?> <?php $post->setExcerptSize($this->getExcerptLength()) ?> <?php if ($this->canDisplayExcerpt()): ?> <a href="<?php echo $post->getPermalink() ?>"> <p class="post-excerpt"> <?php $content = $post->getPostExcerpt(); $content = strip_tags($content); echo substr($content, 0, 250); ?> </p> <p style="text-align: right;"><?php the_content('Read more...'); ?></p> </a> <?php endif; ?> <?php endforeach; ?> <script type="text/javascript">decorateList('<?php echo $this->getListId() ?>')</script> <?php if ($this->canShowPager()): ?> <?php echo $this->getPagerHtml() ?> <?php endif; ?> </div> <?php endif; ?>Forum: Developing with WordPress
In reply to: Multiple taxonomy with next_post_linkSorry. i am not an english speaking person and i doen’t understand
“tripled” comments for code box
Forum: Developing with WordPress
In reply to: Multiple taxonomy with next_post_linkHi kabbo21.
There is something wrong with your Code in Line 15.
ThatgetPermalink() ?>">doesn’t work.Please look in your Codeeditor at this Line.
Second: You should make a link to your post like this:
<?php the_content('Read more...'); ?>Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] backup stay 0%hi.
for your information: have the same error on some wp-site.
Forum: Fixing WordPress
In reply to: How to remove unwanted text in page background– Maybe you will find it in your theme files -> header (it depends on your theme)
– search for “page contents”
– you will find it directly after the javascript-code
– firebug will help youother problem with “<“:
it’s the same thing. look in your theme files and delete it. take firebug for finding this string.
that’s all.
Forum: Fixing WordPress
In reply to: 1and1 "domain has just been registered"Dunno?
Forum: Fixing WordPress
In reply to: 1and1 "domain has just been registered"hi.
i can see the site here:
is it the site?
seems that everything is working?
ps: did you made this?
http://hilfe-center.1und1.de/homepage-entwickeln-c82634/php-c82686/einrichtung-c82738/php-version-ueber-die-htaccess-festlegen-a791784.htmlForum: Fixing WordPress
In reply to: 1and1 "domain has just been registered"add the following to your wp-config.php:
define(‘WP_DEBUG_DISPLAY’, true);
error_reporting(E_ALL);Is there any error displayed?
after everything is okay- you must delete this lines.
Forum: Fixing WordPress
In reply to: 1and1 "domain has just been registered"i have some clients on 1and1 . i was now looking on one server.
they have
“localhost:/tmp/mysql5.sock”
for db_host in there wp installs.try this.
Forum: Fixing WordPress
In reply to: 1and1 "domain has just been registered"did you take the correct DB_HOST?
Forum: Fixing WordPress
In reply to: 1and1 "domain has just been registered"In your root is there a wp-config.php?
Your Server is 1und1?
Sometimes for 1und1 you need a special DB_HOST -> it is not always localhost – please look for that in your 1und1 admin-panel
Forum: Fixing WordPress
In reply to: 1and1 "domain has just been registered"First idea: Your wp-config.php is not writable.
So wordpress can’t fill in the data in it and save.Forum: Fixing WordPress
In reply to: can not to received email from contact formWhich contact form do you use?
First look in options -> general
the most plugins send the mails to this e-mail adress in the general options. is the email adress correct?
Hi. I find this solution and it works:
Info: WordPress 3.4 (Not WPMU)