WPYoda
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Simplify] Make Featured Box images Links to PagesYou need to do this:
<?php $fboxclm = array("1"); foreach ($fboxclm as $fboxn) { ?> <span class="featured-box"> <a href="<?php bloginfo('url'); ?>/your_url/" title="<?php echo of_get_option('featured-title' . $fboxn , ''); ?>"> <img class="box-image" src="<?php echo of_get_option('featured-image' . $fboxn, get_template_directory_uri() . '/images/featured-image' . $fboxn . '.jpg') ?>"/> <h3><?php echo of_get_option('featured-title' . $fboxn , ''); ?></h3> </a> <div class="content-ver-sep"></div> <br /> <p><?php echo of_get_option('featured-description' . $fboxn , ''); ?></p> </span> <?php } ?> <?php $fboxclm = array("2"); foreach ($fboxclm as $fboxn) { ?> <span class="featured-box"> <a href="<?php bloginfo('url'); ?>/your_url/" title="<?php echo of_get_option('featured-title' . $fboxn , ''); ?>"> <img class="box-image" src="<?php echo of_get_option('featured-image' . $fboxn, get_template_directory_uri() . '/images/featured-image' . $fboxn . '.jpg') ?>"/> <h3><?php echo of_get_option('featured-title' . $fboxn , ''); ?></h3> </a> <div class="content-ver-sep"></div> <br /> <p><?php echo of_get_option('featured-description' . $fboxn , ''); ?></p> </span> <?php } ?> <?php $fboxclm = array("3"); foreach ($fboxclm as $fboxn) { ?> <span class="featured-box"> <a href="<?php bloginfo('url'); ?>/your_url/" title="<?php echo of_get_option('featured-title' . $fboxn , ''); ?>"> <img class="box-image" src="<?php echo of_get_option('featured-image' . $fboxn, get_template_directory_uri() . '/images/featured-image' . $fboxn . '.jpg') ?>"/> <h3><?php echo of_get_option('featured-title' . $fboxn , ''); ?></h3> </a> <div class="content-ver-sep"></div> <br /> <p><?php echo of_get_option('featured-description' . $fboxn , ''); ?></p> </span> <?php } ?>
The header of the file goes unchanged.
Forum: Plugins
In reply to: [EWWW Image Optimizer] New host: missing: jpegtran, optipng, gifsicle.TBH mate, i am going to switch back to my old hosting and quicky research for another (reached my limit with the old host you see)
Well i hope the above info well help you and others with the same problem later on now down the road.
I will agree (which what i thought in the first place) the problem is down to the host.
Thanks again for all your help m8.
GREAT SUPPORT
Forum: Plugins
In reply to: [EWWW Image Optimizer] New host: missing: jpegtran, optipng, gifsicle.First one i get the following
start..sh: file: command not found ..end
the i ran the stuff in the 2nd post in SSH and i got the following
1:
bash-3.2$ /var/sites/g/geekstech.co.uk/public_html/wp-content/ewww/optipng -v
OptiPNG version 0.7.4
Copyright (C) 2001-2012 Cosmin Truta and the Contributing Authors.This program is open-source software. See LICENSE for more details.
Portions of this software are based in part on the work of:
Jean-loup Gailly and Mark Adler (zlib)
Glenn Randers-Pehrson and the PNG Development Group (libpng)
Miyasaka Masaru (BMP support)
David Koblas (GIF support)Using libpng version 1.4.12 and zlib version 1.2.7-optipng
bash-3.2$2:
bash-3.2$ /var/sites/g/geekstech.co.uk/public_html/wp-content/ewww/gifsicle –version uname -a
LCDF Gifsicle 1.68
Copyright (C) 1997-2011 Eddie Kohler
This is free software; see the source for copying conditions.
There is NO warranty, not even for merchantability or fitness for a
particular purpose.
bash-3.2$Forum: Plugins
In reply to: [EWWW Image Optimizer] New host: missing: jpegtran, optipng, gifsicle.This is what it says:
/var/sites/g/geekstech.co.uk/public_html/wp-content/ewww/optipng: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, statically linked, for GNU/Linux 2.6.9, from ‘mplete’, not stripped
TBH i am getting a few errors with this host, so i might switch back to my old host until i find another host.
Would it have anything to do with cloud hosting? as that is what i am hosted on ATM
Forum: Plugins
In reply to: [EWWW Image Optimizer] New host: missing: jpegtran, optipng, gifsicle.UPDATE
I just asked my host and they said file is installed
it’s at /usr/bin/fileP.s: Yes the ‘user’ part was blank on the settings page
Forum: Plugins
In reply to: [EWWW Image Optimizer] New host: missing: jpegtran, optipng, gifsicle.I only have SSH access (shared hosting you see)
If it can be via SSH what do i need to type in?
If i need to ask my host, i take it just need them to install ‘file’ commandForum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsWill this fix prompt a new version of Co-Authors Plus or will one have to do the fix by hand? Also, what could one have done to avoid this from happening in the first place?
+1
I would love to know, how to get custom post-types supported.
TBH its 100% needed now for most stuff.
Forum: Plugins
In reply to: [WP-Cycle] Doesen rotateDo you have this in your footer.php:
<?php wp_footer(); ?>Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsVery interesting. On my website, I’ve noticed that only the authors who don’t share an article with someone else have repeating posts on their author page. I tested my hypothesis by adding a second author to one of the single-author posts and that fixed my problem.
I’m still very confused and have no idea why this worked. Hopefully, this provides you guys with some sort of clue.
Forum: Plugins
In reply to: [Facebook] Facebook recommendations and recent activity widgets bugI’m having the same problem that’s been going on for almost a week now. Seems like something’s going on on facebooks end but, they haven’t fixed it yet. This is very frustrating.
Forum: Plugins
In reply to: [wpml] [Plugin: wpml] Different sticky post per languageWhere? Tell us what you did!
Forum: Plugins
In reply to: [W3 Total Cache] W3TC Memcached by UNIX socketI’m the author of that blog post. Can you elaborate on how it didn’t work?
Having the same problem. I tried installing on a local install and live server but I’m getting nothing?
Can anyone help?
Forum: Fixing WordPress
In reply to: Error in header of website?!?Thanks for the reply,
Ok, so the error code is gone now but it was pretty strange because after I deactivated all of the plugins, the error message didn’t immediately go away, but after about an hour later, I visit the site again and it’s gone and has stayed that way all day.
I’m thinking that it must be one of the plugins which I’m thinking might be All In One SEO Pack ( because I read that it and other seo plugins can cause a jquery error) but I’m not totally sure at this point yet. So, I’m pretty sure that it’s one of those plugins I listed though. I just gotta narrow it down to the right one.
I will be updating the site’s theme though as it is way out of date and could cause problems down the road later.
Thank you very much for help and time! ??