Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    If the moderators could please delete this thread, I would appreciate it. It turns out the problem is bigger than I thought, and I’d like to start a new thread with the updated information.

    Thanks.

    H, BNC.

    My site is at http://www.birdistheworm.com/

    While I was out of town over the weekend, I took advantage of the various computers etc at my disposal. I also had a conversation with someone who, I came to learn, shares my site’s host. I am leaning more toward the possibility that it was a host issue more than a WPtouch, and it was simply that the problems were manifesting with items that are most commonly associated with WPtouch’s area of concern.

    But if you wanted to glance it over, it would be welcome. If nothing else, it would be helpful if you were able to rule out WPtouch as going concern.

    Cheers.

    I’m noticing some serious sluggishness with embedded Soundcloud and Bandcamp players populating on my site, even some embedded youtube videos. In some cases, the players never even make it up. In other cases, only parts of the embedded players populate. For instance, I’ve had one Bandcamp player show up except for the Play button.

    IIRC, Bandcamp recently made some adjustments to their site that directly addressed mobile tech functionality, especially iPhones and iPads. I also read on Soundcloud’s blog that they’ve been tweaking their HTML5 players.

    It’s on an iPad that I noticed something had recently changed regarding the embedded players. A handful of weeks ago, no problems. However, my Mac laptop is also having some difficulties, so it might not just be a WPTouch mobile issue.

    I don’t know if maybe the current version of WPTouch is clashing with the new bandcamp and soundcloud code. From my (amateurish) observations, there’s a part of me that’s wondering if some of the problem has to do with the Sharing functionality built into each embedded player. If I could find a way to extract the Sharing language of the bandcamp and soundcloud players, I can’t help but wonder if that would clear the problem up.

    That said, WPTouch is an excellent product. I’m sure whatever is causing the recent static will get resolved.

    Cheers.

    EDIT: Eh, sorry, I got distracted by latest posts, forgot that the OP doesn’t coincide with my post. I can create a new thread if you like.

    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Well, I fixed my site, though I’m still not sure exactly where the problem was in the code… either my first problem that caused it all to go to hell or the second one that arose from my initial fix.

    But in summary, for anyone else who has this problem in the future:

    1. I messed up my functions.php file by adding bad code, which resulted in a parse error that prevented me from doing anything on my site.
    2. I got a fresh copy of the functions.php file from the Theme creators (a simple download).
    3. I ftp’d that file onto my site, and overwrote the existing messed up one. I used Filezilla, which is very simple to download and utilize. In order to ftp the new file with Filezilla, you will require you to have the Host Address and a Password, which your host provider can give you.
    4. Overwriting my bad functions.php file with a fresh one only solved half my problems, but since it did allow me to access my admin panel again, I could look for a new solution. The FTP overwrite might solve all problems for other people; results, I’m sure, will vary.
    5. Once I determined there was some additional conflict caused by my new functions.php file and the existing other Theme files, I switched my site to an entirely new Theme (which would have all fresh files).
    6. After I switched Themes, I deleted the old bad Theme from my site. I then had the option to re-download a fresh one and switch back to it.
    7. Problem solved. I have a functioning site again.

    I hope that helps others who replicate my error.

    Cheers.

    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Sorry about that, mod. I should’ve known better on that one, for sure.

    Here’s the code, and using the code function, just in case it got messed up above…

    <?php get_header();?>
    <div id="content">
    <div id="content-main">
    		<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    			<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
    				<div class="posttitle">
    			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mistylook'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
    				<p class="postmetadata"><?php the_time(get_option("date_format")); ?> <?php printf(__('by %s','mistylook'), mistylook_get_author_posts_link()); ?> <?php edit_post_link(__('Edit','mistylook'), ' | ', ' '); ?> </p>
    				</div>
    
    				<div class="entry">
    					<?php the_content(__('Continue Reading &raquo;','mistylook')); ?>
    					<?php wp_link_pages(); ?>
    				</div>
    
    				<p class="post-info"><?php printf(__('Posted in %s','mistylook'), get_the_category_list(', ')); ?> | <?php the_tags( __('Tagged','mistylook').' ', ', ', ' | ' ); ?><?php comments_popup_link(__('Leave a Comment »','mistylook'), __('1 Comment »','mistylook'), __('% Comments »','mistylook')); ?></p>
    				<?php comments_template(); ?>
    			</div>
    		<?php endwhile; else : ?>
    			<h2 class="center"><?php _e('Not Found','mistylook'); ?></h2>
    			<p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.','mistylook'); ?></p>
    		<?php endif; ?>
    		<p align="center" class="posts-nav-link">
    			<?php posts_nav_link(' - ',__('« Newer Posts','mistylook'),__('Older Posts »','mistylook')) ?>
    		</p>
    </div><!-- end id:content-main -->
    <?php get_sidebar();?>
    <?php get_footer();?>
    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Oh, hi, Songdogtech!

    We cross-posted. Before coming back on board, I did exactly that… replace the functions.php file with a fresh one. I then received the error message as per my post above.

    I think I’m pretty close to the solution. I’m especially curious to see if my option #2 under Questions might be a good solution.

    Cheers.

    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Okay, so what I wound up doing was copying a new version of my functions.php file onto my site via Filezilla.

    I now get a new error message. I’ll post that error message, plus the code that it relates to, plus some more info that I’ve picked up.

    Error Message:

    Fatal error: Call to undefined function mistylook_get_author_posts_link() in /home/dssjazz/notesfromtheholler.com/wp-content/themes/mistylook/index.php on line 8

    The Code from my Index.php file:

    <?php get_header();?>
    <div id="content">
    <div id="content-main">
    		<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    			<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
    				<div class="posttitle">
    			<h2><a>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mistylook'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
    				<p class="postmetadata"><?php the_time(get_option("date_format")); ?> <?php printf(__('by %s','mistylook'), mistylook_get_author_posts_link()); ?> <?php edit_post_link(__('Edit','mistylook'), ' | ', ' '); ?> </p>
    				</div>
    
    				<div class="entry">
    					<?php the_content(__('Continue Reading »','mistylook')); ?>
    					<?php wp_link_pages(); ?>
    				</div>
    
    				<p class="post-info"><?php printf(__('Posted in %s','mistylook'), get_the_category_list(', ')); ?> | <?php the_tags( __('Tagged','mistylook').' ', ', ', ' | ' ); ?><?php comments_popup_link(__('Leave a Comment »','mistylook'), __('1 Comment »','mistylook'), __('% Comments »','mistylook')); ?></p>
    				<?php comments_template(); ?>
    			</div>
    		<?php endwhile; else : ?>
    			<h2 class="center"><?php _e('Not Found','mistylook'); ?></h2>
    			<p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.','mistylook'); ?></p>
    		<?php endif; ?>
    		<p align="center" class="posts-nav-link">
    			<?php posts_nav_link(' - ',__('« Newer Posts','mistylook'),__('Older Posts »','mistylook')) ?>
    		</p>
    </div><!-- end id:content-main -->
    <?php get_sidebar();?>
    <?php get_footer();?>


    More Information:

    Whereas before I FTP’d the new function.php file, I was completely unable to move around my site, now I have full access to my admin panel, etc. The only place I can’t do anything is the “front of the house.”

    Also, I de-activated all my widgets, to see if that did anything.

    Interestingly, a preview of my site under a different theme, like “Contempt,” actually showed my posts as they should. However, a preview of my site under current theme “Mistylook” gave me just the above error message.

    All of my content (ie, Posts) exist on my site, which I can view through the admin panel. I just can’t see them on the Main Site Page.

    Questions:

    1. Is there something in that above code that I need to edit, some sort of simple syntax that would fix it?
    2. Would there be any use in temporarily switching my theme to “Contempt,” then deleting current theme “Mistylook” off my admin panel, then re-installing it and switching back to it from “Contempt”?
    3. Is there code in a different php file that I need to tweak, perhaps, which is causing the above error message to occur?

    Thanks for your help. I do appreciate it.

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your code may now have been permanently dmaged/corrupted by the forum’s parser.]

    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Hi, Seacoast Web Design.

    I’m sorry, but I don’t understand what your link is supposed to be telling me.

    I appreciate your time, though.

    Cheers.

    Did you solve your problem? The reason I ask is because I went onto your site and saw the code, no embedded player, and was going to come back to mention that it looked incomplete, and show you what the code should look like. But now when I go onto your site, the embedded player is showing up.

    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Hey, Erick.

    Thanks for getting back and the widget.

    I discovered a work-around that seems to be holding firm. Here’s what I did to overcome it…

    I noticed that even though it wasn’t letting me select the taxonomies (as described in my original post), when I did activate the widget, it actually behaved correctly on my site. I figured what was happening was that even though the widget code was not finding my taxonomy statements where it expected to find them (thus, the null field), it then was going into a secondary mode of just looking for any type of taxonomy term/statement that would allow it to achieve its ultimate function. And it did. And the taxonomy it chose (Musicians) was the first of three I had defined in my function.php file. So, I figured, maybe it’s acting like POS systems act when applying a coupon/discount code and searches out for specific number/alpha sequences… attaching themselves to it when they find them.

    So what I did was, under the widget editor, I added two extra lines of code, which corresponded to my two other taxonomies of “sound” and “label”:

    ** TAXONOMY DROPDOWN WIDGET PLUGIN
    **/
    class taxonomy_dropdown_widget_plugin {
    /*
    * Class variables
    */
    var $option_defaults = array(
    ‘taxonomy’ => ‘musician’,
    ‘taxonomy’ => ‘sound’,
    ‘taxonomy’ => ‘label’,
    ‘select_name’ => ‘Select Tag’,
    [AND so on]

    Then, I went and activated two more of the drop down widgets, even though, as the first time for “musicians”, it didn’t allow me to actually choose a specific taxonomy. But I think the two additional widgets basically behaved the same way the first did and looked for the first “unattached” taxonomy definition and grabbed it up.

    I’m making plenty of assumptions, and it’s possible none of them are correct. I’m new to this and trying to apply my limited experience with software programs and common sense to figure out the lay of the land.

    Again, thanks.

    Cheers.

    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Hi.

    Just a follow-up post.

    I found a plug-in that seems to have done exactly what I needed. It’s called Dynamic Headers by Nicasio Design, and can be found here…

    http://nicasiodesign.com/blog/category/wordpress-plugins/

    It was using the search term “dynamic headers” that got me a bunch of plugin options that addressed my original question. Previously I had been using the search term “featured image”, which provided with interesting reading, but wasn’t the optimal phrase for me to use for my investigation.

    I just installed the above plugin today, and it seems to be working fine (though I always hesitate to make a definitive statement like that until some time has passed). It was very simple to set up. Ridiculously simple.

    I should add that other dynamic header plug-ins popped up on my search, some which offered enhanced functionality. They were more than what I was looking for, but others reading this might want more options, so I wanted to mention that there are other dynamic header plugins out there.

    Cheers.

    P.S. If someone wants to put a “resolved” checkmark on this thread, do so with my blessing. Thanks again to everyone who gives their time and experience on forums like this.

    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Thanks, James.

    I’ve seen some code out there that addresses a second template. Now, armed with your explanation, I can start diving into it with a better understanding of featured images.

    Cheers.

    Forum: Fixing WordPress
    In reply to: RSS Feed error
    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Okay, it works again. I haven’t heard back from the person who originally reported the error, but I was able to reproduce his error message before and now I can’t. I think maybe a couple of the things I modified before (ie, the fix-rss-feed and deleting some blank lines) may have actually fixed it, but I just needed to wait a bit longer for the server to reset.

    Now that I think back on it, there have been other “bigger” changes I’ve made to the site and just wasn’t aware of the time interval before those changes were reflected in real time. That may account for the delay in this instance too.

    Thanks again for your help. It’s always comforting to know that helpful people are out there looking out.

    Cheers.

    P.S. Please feel free to hang one of those “Problem Resolved” signs on this thread.

    Forum: Fixing WordPress
    In reply to: RSS Feed error
    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    Yes, the header.php gets mentioned the most, and it was where I was mistakenly assuming I’d see some RSS language.

    I think I’ll take a second pass at looking for blank lines in the header php now. I was pretty sure I picked through it pretty good, but I think when anybody isn’t entirely certain that they’re doing the right thing, mistakes can be made and things get overlooked.

    I’ll try again.

    Cheers.

    Forum: Fixing WordPress
    In reply to: RSS Feed error
    Thread Starter Bird is the Worm

    (@bird-is-the-worm)

    So, then the blank lines that many sites recommended deleting (before and after php files), that’s basically just something to go through the Editor line by line all the various menu options?

Viewing 15 replies - 1 through 15 (of 20 total)