WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need a few answers ASAP! (43 posts)

  1. 39images
    Member
    Posted 3 years ago #

    Hi everyone!

    I'm a new user here. I have a couple of questions regarding my WP site. First, here is my URL:

    http://39images.com/wp/

    If you scroll to the footer, you'll see that I have an error under "most popular posts": Fatal error: Call to undefined function get_mostpopular() in /mnt/r0201/d17/s14/b02845cc/www/39images.com/wp/wp-content/themes/argonoid/footer.php on line 28

    I'm using Pages, not Posts, so theoretically, I don't need that in the footer at all. But every time I try to remove it from the css, it screws up the whole footer. I don't really need anything to generate automatically in the footer. How can I do this?

    Secondly, is there a way I can reduce the space between my page titles and the beginning of the page content? For example, my "about" page:

    http://39images.com/wp/?page_id=8

    I'd like the title "About" to be closer to the paragraphs. There's a little too much of a gap on the pages.

    Thanks!! :)

  2. Pedro Candeias
    Member
    Posted 3 years ago #

    Hi 39images,

    Is MOST POPULAR POSTS a widget? If yes, just remove it from the widget sidebar.
    If not, then you have to open footer.php (if there is one) and remove it there.

    The "about" thing, that you have to edit in style.css.
    Look for h1 of .content.

    Good luck

  3. 39images
    Member
    Posted 3 years ago #

    Well that's the thing. When I try to remove it from the footer, it messes everything up. Here is my entire footer code:

    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

    My goal is to have the footer blank, with the exception of my copyright info...

  4. Pedro Candeias
    Member
    Posted 3 years ago #

    Just remove this entire block: http://pastebin.com/wdNNfpcT
    If that messes up you're theme, remove just the <?php ?> parts and everything in it.

  5. 39images
    Member
    Posted 3 years ago #

    Ok thanks! :) I think I got it now. The only thing I need to remove from the footer is:

    "Designed by Reseller Hosting. In collaboration with Dreaming, Oscommerce Templates , and Pup Dog Training"

    I've looked through Firebug but I can't find the actual file that allows me to edit/remove it.

  6. Pedro Candeias
    Member
    Posted 3 years ago #

    Firebug won't list the files that hold stuff. Just the pages.
    Anyway, it's inside the footer.php.
    Look for copy yada yada and it's probably the <?php padd_theme_credits(); ?> that's pulling that from you're function.php file.

    Hope it helps.

  7. 39images
    Member
    Posted 3 years ago #

    Strange...when I remove <?php padd_theme_credits(); ?> from footer.php, my whole site goes blank white...

  8. Pedro Candeias
    Member
    Posted 3 years ago #

    Hi have to say, that this themes has some stuff i've never seen before.
    Like the stuff inside template-top.php and template-bot.php.
    I don't know what it is, or what it is for.

    Make sure you removed the entire <?php padd_theme_credits(); ?> fwhole thing. Don't leave the "php" parts in.
    If that dosen't work, open library.php and at the end of the file, remove the "Renders the theme credits." part. All of it.
    If that dosen't work, Try adding a ?> where you removed the render theme credits, and if that dosen't work, let me know. I'll install the theme and try to figure it out.
    Don't forget to backup all you're files before doing changes.

  9. 39images
    Member
    Posted 3 years ago #

    I tried all those solutions and each one produced an error. I'm really stumped on this one. I appreciate you offering to install it and check it out!! :)

  10. Pedro Candeias
    Member
    Posted 3 years ago #

    Can you send me you're themes files?
    Use something like wikisend to do it.

  11. 39images
    Member
    Posted 3 years ago #

    Here is a direct link to DL it:

  12. Pedro Candeias
    Member
    Posted 3 years ago #

    Nothing. Paste the url.

  13. 39images
    Member
    Posted 3 years ago #

  14. Pedro Candeias
    Member
    Posted 3 years ago #

    Yep.
    Just removed the <?php padd_theme_credits(); ?> from footer.php and it worked.
    I'm guessing you have some <?php tag left open. Double check.
    You could also just copy a new footer.php file over to you're server and start again.

  15. 39images
    Member
    Posted 3 years ago #

    Here is that whole section:

    <div id="footer">
    		<div class="pad append-clear">
    			<p class="copyright">
    				Copyright &copy; <?php echo date('Y')?>. <?php bloginfo('name'); ?>. All rights reserved.
    			</p>
    			<?php padd_theme_credits(); ?>
    		</div>
    	</div>
    
    </div>
    <?php wp_footer(); ?>
    <?php
    $tracker = get_option(PADD_PREFIX . '_tracker_bot','');
    if (!empty($tracker)) {
    	echo stripslashes($tracker);
    }
    ?>
    </body>
    </html>
    
    <?php require 'functions/required/template-bot.php'; ?>

    What is the exactly part I should remove?

  16. Pedro Candeias
    Member
    Posted 3 years ago #

    I've told you already. remove this: <?php padd_theme_credits(); ?>

  17. Pedro Candeias
    Member
    Posted 3 years ago #

    Remeber the popular post stuff?
    This is what should be there:
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 2') ) : ?><?php endif; ?>

  18. 39images
    Member
    Posted 3 years ago #

    I removed that and it goes blank white...

  19. Pedro Candeias
    Member
    Posted 3 years ago #

    39images,

    Send me YOU'RE files. Not the theme the original theme. That i can download by myself. I'll take a look and try to find you're problem. But i can't do it from unmodified files.
    Just zip ou rar the theme and send it via wikisend or sendspace or something like that.

  20. 39images
    Member
    Posted 3 years ago #

    Here you go!

    My Argonoid Files

  21. Pedro Candeias
    Member
    Posted 3 years ago #

    Ok. Thanks. Downloaded it.
    Tested it.
    And it works fine.
    Copy this to you're footer.php, removing everything in it.
    http://pastebin.com/0bb5WJYj

  22. Pedro Candeias
    Member
    Posted 3 years ago #

    No luck?

  23. 39images
    Member
    Posted 3 years ago #

    You won't believe this but, white screen. I copied the exact code from the link you provided and pasted it in place of my current footer code. It just turned everything blank white. I'm ready to give up :(

  24. Pedro Candeias
    Member
    Posted 3 years ago #

    You could always turn debbug mode on and verify the faulty files.

    Add this to you're wp-config
    if ( isset($_GET['debug']) && $_GET['debug'] == 'debug')
    define('WP_DEBUG', true);

    And then access like this
    http://yoursite/?debug=debug

  25. Pedro Candeias
    Member
    Posted 3 years ago #

    Try turning off all plugins. And then try to change. I don't think this is a theme related problem, as i did the changes here and everything went worked fine.

  26. 39images
    Member
    Posted 3 years ago #

  27. Pedro Candeias
    Member
    Posted 3 years ago #

    Well, i just found out that you're using W3 Total Cache.
    Try turning it off.
    Then make the changes.
    Then activate the plugin.
    Clear all the cache.

  28. 39images
    Member
    Posted 3 years ago #

    W3 Total Cache is causing the problem! I deactivated it and made the changes. It worked fine! BUT as soon as I reactivated it, it went all white. Can I just leave it deactivated?

  29. Pedro Candeias
    Member
    Posted 3 years ago #

    That depends on what you expect, in terms of pageviews and unique visitors for you're site.
    I think you can leave it off (i would). Remove W3TC completely. If you feel you're site is kinda slow, then install it again.
    Search for instructions on how to remove W3TC.
    You should only use a caching mechanism once you're done making changes.

    Anyway, glad to hear the problem is resolved. You owe me a beer :).

  30. 39images
    Member
    Posted 3 years ago #

    Thanks so much! I really appreciate all your help! I DO owe you a beer! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.