Post Reply 
 
Thread Rating:
  • 156 Votes - 2.9 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't get this to work at all
02-18-2010, 09:08 AM
Post: #11
RE: Can't get this to work at all
Rich, I dug a little further on my site and found the index.php file which seems to be the one. Featurific code inserted itself automatically but I'm not sure it's in the right place.

Once again, thank you for all your efforts. I'm sure we'll get there, eventually. Even if I'm such a newbie!!

---------------------
<?php get_header(); ?>



<div id="main">



<div id="contentwrapper">


<?php
//Code automatically inserted by Featurific for Wordpress plugin
if(is_home()) //If we're generating the home page (remove this line to make Featurific appear on all pages)...
if(function_exists('insert_featurific')) //If the Featurific plugin is activated...
insert_featurific(); //Insert the HTML code to embed Featurific
?>
<?php if (have_posts()) : ?>

<?php while (have_posts()) : the_post(); ?>



<div class="topPost">

<h2 class="topTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>

<p class="topMeta">by <?php the_author_posts_link(); ?> on <?php the_time('M.d, Y') ?>, under <?php the_category(', '); ?></p>

<div class="topContent"><?php the_content('(continue reading...)'); ?></div>

<span class="topComments"><?php comments_popup_link('Deixe o seu comentário', '1 Commentário', '% Commentários'); ?></span>

<span class="topTags"><?php the_tags('<em>:</em>', ', ', ''); ?></span>

<span class="topMore"><a href="<?php the_permalink() ?>">more...</a></span>

<div class="cleared"></div>

</div> <!-- Closes topPost --><br/>



<?php endwhile; ?>



<?php else : ?>



<div class="topPost">

<h2 class="topTitle"><a href="<?php the_permalink() ?>">Não encontrado</a></h2>

<div class="topContent"><p>Desculpe mas está à procura de algo que não está aqui. Pode procurar no site usando <a href="#searchform">este formulário</a>...</p></div>

</div> <!-- Closes topPost -->



<?php endif; ?>



<div id="nextprevious">

<div class="alignleft"><?php posts_nav_link('','','&laquo; PREVIOUS ENTRIES') ?></div>

<div class="alignright"><?php posts_nav_link('','NEXT ENTRIES &raquo;','') ?></div>

<div class="cleared"></div>

</div>

</div> <!-- Closes contentwrapper-->







<?php get_sidebar(); ?>

<div class="cleared"></div>



</div><!-- Closes Main -->





<?php get_footer(); ?>
Quote this message in a reply
02-23-2010, 10:09 AM
Post: #12
RE: Can't get this to work at all
Hi there seco!

Ahhh yes - that seems to be the right file! It matches up with what I see at fotoviajar.com. I think I may know what the 'problem' is. Try this:

Find the line in the file that Featurific inserted that looks like this:

if(is_home()) //If we're generating the home page (remove this line to make Featurific appear on all pages)...

and replace it with this:

//if(is_home()) //If we're generating the home page (remove this line to make Featurific appear on all pages)...

Adding the '//' to the beginning of the line 'comments out' (aka disables) that particular line. I think Featurific might be confused about what your home page is, so that would cause it to not appear in this scenario.

Hope this helps! Smile
-Rich
Find all posts by this user
Quote this message in a reply
02-24-2010, 11:00 AM
Post: #13
RE: Can't get this to work at all
That is great, Rinogo. It's finally there. Now I'm going to try some places and configurations and decide which one is best for me.

Thanks a lot for your efforts and patience.

Luis Seco
Quote this message in a reply
02-24-2010, 11:04 AM
Post: #14
RE: Can't get this to work at all
You're welcome, Luis!

I'm glad we got it working. Now that we removed that line (commented it out), the only catch is that if the template is used anywhere else on your site, Featurific will appear there. As long as you're OK with that (if it is used anywhere else on your site - it might not even be reused at all), then you're all set!

Enjoy Featurific! Smile
-Rich
Find all posts by this user
Quote this message in a reply
02-25-2010, 04:02 AM
Post: #15
RE: Can't get this to work at all
Well... something else came up.

Sometimes I get this on my homepage.

"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 389580 bytes) in /home/moroccom/public_html/fotoviajar/wp-includes/wp-db.php on line 697"

It apeared after featurific started functioning so I'm pretty sure it's because of featurific.

Any ideas??
Quote this message in a reply
02-26-2010, 10:28 AM
Post: #16
RE: Can't get this to work at all
Hi again!

Do you know (more specifically) when the error appears? As far as I know, Featurific for Wordpress has a fairly small memory footprint. The only exception to this is when it has to download files from other websites (e.g when caching a remote file locally). In the case of images causing this problem, just hit your main page after you post a post and make sure that you don't get the error. Keep trying until the error goes away, and you *should* be ok.

As I mentioned, Featurific should be very low on memory usage. You're on a shared host, I imagine, correct? This can also mean that your host is trying to squeeze too many users onto one server, which can cause these errors.

-Rich
Find all posts by this user
Quote this message in a reply
12-23-2011, 11:59 AM
Post: #17
discount nike shox Nike Shox Shoes: Summer season New Nike Air Max Foo by Nrr
through design, <a href=http://www.nikeshoxdiscount.org>discount shox</a> discount shox k Andrew Nike Air shoes you have carefully studied before heading.He sections Air Max shoes, shoes clear of <b>nike discount</b> n this collection of reviews and then things began to draw sketches for the design of modern Operate. Skin tampon use, Andrew not <a href=http://www.nikeshoxdiscount.org>shox nz</a> shox nz j only the construction of new bubbles under no <b>shox r4</b> h Max 180 running shoes, and foot and the heel provides solid support. And this practice <a href=http://www.nikeshoxdiscount.org>nike discount</a> nike discount j in the sale of low-cost collection is also quite common.Footwear Max from the point of <a href=http://www.nikeshoxdiscount.org>shox r4</a> shox r4 q the shoe forefoot flex grooves curved style, <a href=http://www.nikeshoxdiscount.org>discount nike shox</a> discount nike shox y have been strengthened, but also shows the dynamic <b>discount nike shox</b> r splendor. nike shox Price reduced clearance and white <a href=http://www.nikeshoxdiscount.org>nike shox</a> nike shox t shoes, and now bring black men full of low <b>discount shox</b> q cost shoes "Nike" green shoe sole perform.Leather However, several aspects that should be allowed in the style of things, highlights the sophisticated brand and style of high quality. nike shox Black contact the original provision beautiful hard shoes Nike Air Max TN for sale much more impressive! NIKE + dual-boot LUNARSWIFT shoe a new look and feel of the shoes as often mitigate security to bring order to the broker as a convenience and help <b>shox nz</b> k force behind Nike + LUNARSWIFT sequence of operational experience myth.Mixed substance high from 3 important attributes suit legs <b>nike shox</b> a to give the impression of individuality.
Quote this message in a reply
Post Reply 


[-]
Quick Reply
Message
Type your reply to this message here.


Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Does it work for a free wordpress blog? Guest 2 1,842 12-30-2011 03:14 AM
Last Post: trietsexemy
  Static Page - How do I get it to work bribiz 2 2,032 11-20-2011 01:44 AM
Last Post: jastreender
  Getting FEATURIFIC to work on my Home Static Page bribiz 1 2,636 05-29-2010 07:04 AM
Last Post: rinogo
  Will the Featurific Plugin Work On Custom Template Pages bribiz 1 1,984 05-29-2010 07:02 AM
Last Post: rinogo
  how does it work? helablog 3 1,773 05-20-2010 07:55 AM
Last Post: rinogo
  Plugin doesn't work on a fresh WP installation danicasati 1 2,762 11-12-2009 11:37 AM
Last Post: rinogo
  Getting code to work Guest 1 1,731 09-19-2009 04:27 AM
Last Post: rinogo
  Most read in last X days don't work Guest 1 3,293 02-10-2009 05:04 AM
Last Post: rinogo

Forum Jump:


User(s) browsing this thread: 1 Guest(s)