Datafeedr Support Forums

Datafeedr Support Forums (http://www.datafeedr.com/forums/index.php)
-   Questions (http://www.datafeedr.com/forums/forumdisplay.php?f=67)
-   -   Category description showing up in weird places (http://www.datafeedr.com/forums/showthread.php?t=10921)

Estrella86 August 28th, 2014 01:37 PM

Category description showing up in weird places
 
Hi,

I've got a bit of a problem: I filled in a product description, but it shows up in two places. It shows up in the place it should, so above the products, but it also shows above my website. I don't really know how to explain this correctly, so I think you'll have to take a look for yourself.

Do you have any idea how this is possible and how I can fix this?

Website URL: http://www.babyaccessoires.eu/
URL to page in question: http://www.babyaccessoires.eu/websho...er-en-kleuter/

Romina

stefan August 28th, 2014 01:57 PM

That's because you're using html code in your category description.

By default the category description is also used to fill the meta description tag.

The html code in your description breaks the format of that tag - hence the text that appears at the top.

As a workaround you can change the meta head section for your category pages:

1. Go to The Factory > Your Store > VIEWS > CATEGORY PAGE > Default > View menu > View <head> Elements

2. Remove [category.description] in <meta name="description" content="[category.description]" /> and replace with some generic text.

3. Save and update your store by clicking the Update Settings button in Datafeedr plugin.

Estrella86 August 28th, 2014 02:09 PM

Ah, I get it. Hence the " /> showing up after the text. I was already wondering about where that came from.

Thanks for the quick reply, fixed it already!

stefan August 28th, 2014 02:14 PM

As an alternative: if you want to create specific meta tag descriptions per category you can do something like this...

1. Go to The Factory > Your Store > VIEWS > CATEGORY PAGE > Default > View menu > View <head> Elements

2. Replace <meta name="description" content="[category.description]" /> with an if else clause:

PHP Code:

<?php if ($category->id==123){ ?>
          <meta name="description" content="description for category 123" /> 

<?php } elseif ($category->id==456){ ?>
          <meta name="description" content="description for category 456" /> 

<?php } elseif ($category->id==789){ ?>
          <meta name="description" content="description for category 789" /> 

<?php } elseif ($category->id==012){ ?>
          <meta name="description" content="description for category 012" /> 

<?php } else { ?>
          <meta name="description" content="........." /> 
<?php ?>

3. Add your category IDs and descriptions.

4. Save and update your store by clicking the Update Settings button in Datafeedr plugin.

Estrella86 August 28th, 2014 02:25 PM

Nice! Hadn't thought about that. In my head I was editing the meta tag of just this category, but obviously now it's the meta tag of all categories. Thanks for the tip, 'cause I indeed want to give every category a different description.

It seems Datafeedr starts to work for me just fine! I found a temporary solution for my other problem (see my other post), but I'm still wondering about the 'read more' code. But all the other things seem to work nicely now, after some quick adjustments (both language and style).

stefan August 28th, 2014 03:31 PM

As a sidenote... when I was looking into the source code of your store pages I noticed that you're using the "Yoast WordPress SEO plugin".

To avoid canonical link issues you should apply the instructions here: http://www.datafeedr.com/forums/showthread.php?t=8262 (second post)

Estrella86 August 28th, 2014 04:14 PM

Thanks! I didn't notice any problems so far (probably what with being to busy noticing everything else :D ) but just to be sure no problems occur in the future I immediately did what you said in the other thread.

Thanks for telling me!

Estrella86 August 28th, 2014 04:58 PM

OK so I have a HUGE problem: when I actually pressed the button to save this... well see for yourself: http://babyaccessoires.eu/ :( :( :(

Do you know what I should do? Simply deleting the canonical stuff doesn't seem to work, it's still complaining about the 'unexpected <' Apparently, somehow I messed up something else, its just that I don't know I did.. nothing works anymore... I thought I'd just import the latest file I exported, but I can't do anything else than pressing the button, see the error and then go back to functions.php... I hope you can help, everyone sleeps around here at this time...

:( :( :(

btw I have no idea how to find line 449 other then counting from 1 to 449...

Eric August 28th, 2014 05:07 PM

Hi,

Can you paste the full contents of this file /wp-content/themes/point/functions.php here so we can see what's going on?

Eric

Estrella86 August 28th, 2014 05:09 PM

Hi,

I've put the canonical thing just before the last ?> just so you know. I've deleted it now... here's the code:

PHP Code:

<?php
/*-----------------------------------------------------------------------------------*/
/*  Do not remove these lines, sky will fall on your head.
/*-----------------------------------------------------------------------------------*/
require_once( dirname__FILE__ ) . '/theme-options.php' );

if ( ! 
function_exists'mts_setup' ) ) :
function 
mts_setup() {

if ( ! isset( 
$content_width ) ) $content_width 960;

/*-----------------------------------------------------------------------------------*/
/*  Load Translation Text Domain
/*-----------------------------------------------------------------------------------*/
load_theme_textdomain'mythemeshop'get_template_directory().'/lang' );
add_theme_support('automatic-feed-links');

/*-----------------------------------------------------------------------------------*/
/*  Post Thumbnail Support
/*-----------------------------------------------------------------------------------*/
add_theme_support'post-thumbnails' );
set_post_thumbnail_size220162true );
add_image_size'featured'220162true ); //Latest posts thumb
add_image_size'carousel'140130true ); //Bottom featured thumb
add_image_size'bigthumb'620315true ); //Big thumb for featured area
add_image_size'mediumthumb'300200true ); //Medium thumb for featured area
add_image_size'smallthumb'140100true ); //Small thumb for featured area
add_image_size'widgetthumb'6057true ); //widget

/*-----------------------------------------------------------------------------------*/
/*  Custom Menu Support
/*-----------------------------------------------------------------------------------*/
add_theme_support'menus' );
if ( 
function_exists'register_nav_menus' ) ) {
    
register_nav_menus(
        array(
          
'primary-menu' => 'Primary Menu',
          
'footer-menu' => 'Footer Menu'
        
)
    );
}

}
endif;
add_action'after_setup_theme''mts_setup' );

/*-----------------------------------------------------------------------------------*/
/*    Load Menu Description
/*-----------------------------------------------------------------------------------*/
class mts_Walker extends Walker_Nav_Menu
{
    function 
start_el(&$output$item$depth$args) {
        global 
$wp_query;
        
$indent = ( $depth ) ? str_repeat"\t"$depth ) : '';

        
$class_names $value '';

        
$classes = empty( $item->classes ) ? array() : (array) $item->classes;

        
$class_names join' 'apply_filters'nav_menu_css_class'array_filter$classes ), $item ) );
        
$class_names ' class="' esc_attr$class_names ) . '"';

        
$output .= $indent '<li id="menu-item-'$item->ID '"' $value $class_names .'>';

        
$attributes  = ! empty( $item->attr_title ) ? ' title="'  esc_attr$item->attr_title ) .'"' '';
        
$attributes .= ! empty( $item->target )     ? ' target="' esc_attr$item->target     ) .'"' '';
        
$attributes .= ! empty( $item->xfn )        ? ' rel="'    esc_attr$item->xfn        ) .'"' '';
        
$attributes .= ! empty( $item->url )        ? ' href="'   esc_attr$item->url        ) .'"' '';

        
$item_output $args->before;
        
$item_output .= '<a'$attributes .'>';
        
$item_output .= $args->link_before apply_filters'the_title'$item->title$item->ID ) . $args->link_after;
        
$item_output .= '<br /><span class="sub">' $item->description '</span>';
        
$item_output .= '</a>';
        
$item_output .= $args->after;

        
$output .= apply_filters'walker_nav_menu_start_el'$item_output$item$depth$args );
    }
}

/*-----------------------------------------------------------------------------------*/
/*    RTL language support - also in mts_load_footer_scripts()
/*-----------------------------------------------------------------------------------*/
$mts_options get_option('point');
if(isset(
$mts_options['mts_rtl'])) { if($mts_options['mts_rtl'] == '1' && $mts_options['mts_rtl'] != '') {
    function 
mts_rtl() {
        global 
$wp_locale$wp_styles;
        
$wp_locale->text_direction 'rtl';
        if ( ! 
is_a$wp_styles'WP_Styles' ) ) {
            
$wp_styles = new WP_Styles();
            
$wp_styles->text_direction 'rtl';
        }
    }
    
add_action'init''mts_rtl' );
}}

/*-----------------------------------------------------------------------------------*/
/*    Javascsript
/*-----------------------------------------------------------------------------------*/
function mts_add_scripts() {
    
$mts_options get_option('point');
    global 
$data//get theme options
    
    
wp_enqueue_script('jquery');

    if ( 
is_singular() && comments_open() && get_option'thread_comments' ) ) {
        
wp_enqueue_script'comment-reply' );
    }

    
wp_enqueue_script('customscript'get_stylesheet_directory_uri() . '/js/customscript.js', array(), 'null'true);

}
add_action('wp_enqueue_scripts','mts_add_scripts');

/*-----------------------------------------------------------------------------------*/
/* Enqueue CSS
/*-----------------------------------------------------------------------------------*/
function mts_enqueue_css() {
    
$mts_options get_option('point');
    global 
$data;
    
    
wp_enqueue_style('stylesheet'get_stylesheet_directory_uri() . '/style.css','style');
    
    
wp_enqueue_style'GoogleFonts''//fonts.googleapis.com/css?family=Droid+Sans:400,700');
    
wp_enqueue_style'GoogleFonts2''//fonts.googleapis.com/css?family=Open+Sans:400,700');
    
    
//Responsive
    
if($mts_options['mts_responsive'] == '1') {
        
wp_enqueue_style('responsive'get_template_directory_uri() . '/css/responsive.css''style');
    }

    
// RTL
    
if(isset($mts_options['mts_rtl'])) { if($mts_options['mts_rtl'] == '1' && $mts_options['mts_rtl'] != '') {
        
wp_register_style'mts_rtl'get_template_directory_uri() . '/css/rtl.css''style'true );
        
wp_enqueue_style'mts_rtl' );
    }}
    
    
$mts_sclayout '';
    
$mts_bg '';
    if (
$mts_options['mts_bg_pattern_upload'] != '') {
        
$mts_bg $mts_options['mts_bg_pattern_upload'];
    }
    if(
$mts_options['mts_layout'] == 'sclayout') {
        
$mts_sclayout '
            .article { float: right;}
            .sidebar.c-4-12 { float: left; padding-left: 0; padding-right: 2%; }'
;
    }
    
    
$custom_css "
        body {background-color:
{$mts_options['mts_bg_color']}; }
        body {background-image: url(
{$mts_bg});}
        input#author:focus, input#email:focus, input#url:focus, #commentform textarea:focus, .widget .wpt_widget_content #tags-tab-content ul li a { border-color:
{$mts_options['mts_color_scheme']};}
        a:hover, .menu .current-menu-item > a, .menu .current-menu-item, .current-menu-ancestor > a.sf-with-ul, .current-menu-ancestor, footer .textwidget a, .single_post a, #commentform a, .copyrights a:hover, a, footer .widget li a:hover, .menu > li:hover > a, .single_post .post-info a, .post-info a, .readMore a, .reply a, .fn a, .carousel a:hover, .single_post .related-posts a:hover, .sidebar.c-4-12 .textwidget a, footer .textwidget a, .sidebar.c-4-12 a:hover { color:
{$mts_options['mts_color_scheme']}; }    
        .nav-previous a, .nav-next a, .header-button, .sub-menu, #commentform input#submit, .tagcloud a, #tabber ul.tabs li a.selected, .featured-cat, .mts-subscribe input[type='submit'], .pagination a, .widget .wpt_widget_content #tags-tab-content ul li a, .latestPost-review-wrapper { background-color:
{$mts_options['mts_color_scheme']}; color: #fff; }
        
{$mts_sclayout}
        
{$mts_options['mts_custom_css']}
            "
;
    
wp_add_inline_style'stylesheet'$custom_css );
}
add_action('wp_enqueue_scripts''mts_enqueue_css'99);

/*-----------------------------------------------------------------------------------*/
/*  Enable Widgetized sidebar
/*-----------------------------------------------------------------------------------*/
function mts_widgets_init() {
    
register_sidebar(array(
        
'name'=>'Sidebar',
        
'description'   => __'Appears on posts and pages''mythemeshop' ),
        
'before_widget' => '<li id="%1$s" class="widget widget-sidebar %2$s">',
        
'after_widget' => '</li>',
        
'before_title' => '<h3>',
        
'after_title' => '</h3>',
    ));
}
add_action'widgets_init''mts_widgets_init' );

/*-----------------------------------------------------------------------------------*/
/*  Load Widgets & Shortcodes
/*-----------------------------------------------------------------------------------*/
// Add the 125x125 Ad Block Custom Widget
include("functions/widget-ad125.php");

// Add the 300x250 Ad Block Custom Widget
include("functions/widget-ad300.php");

// Add Facebook Like box Widget
include("functions/widget-fblikebox.php");

// Add Subscribe Widget
include("functions/widget-subscribe.php");

// Add Social Profile Widget
include("functions/widget-social.php");

// Add Welcome message
include("functions/welcome-message.php");

// Recommended Plugin Activation
include( "functions/plugin-activation.php" );

// Theme Functions
include("functions/theme-actions.php");

/*-----------------------------------------------------------------------------------*/
/*    Filters customize wp_title
/*-----------------------------------------------------------------------------------*/
function mts_wp_title$title$sep ) {
    global 
$paged$page;

    if ( 
is_feed() )
        return 
$title;

    
// Add the site name.
    
$title .= get_bloginfo'name' );

    
// Add the site description for the home/front page.
    
$site_description get_bloginfo'description''display' );
    if ( 
$site_description && ( is_home() || is_front_page() ) )
        
$title "$title $sep $site_description";

    
// Add a page number if necessary.
    
if ( $paged >= || $page >= )
        
$title "$title $sep " sprintf__'Page %s''mythemeshop' ), max$paged$page ) );

    return 
$title;
}
add_filter'wp_title''mts_wp_title'10);

/*-----------------------------------------------------------------------------------*/
/*  Filters that allow shortcodes in Text Widgets
/*-----------------------------------------------------------------------------------*/
add_filter('widget_text''shortcode_unautop');
add_filter('widget_text''do_shortcode');
add_filter('the_content_rss''do_shortcode');

/*-----------------------------------------------------------------------------------*/
/*    Custom Gravatar Support
/*-----------------------------------------------------------------------------------*/
if( !function_exists'mts_custom_gravatar' ) ) {
    function 
mts_custom_gravatar$avatar_defaults ) {
        
$mts_avatar get_template_directory_uri() . '/images/gravatar.png';
        
$avatar_defaults[$mts_avatar] = 'Custom Gravatar (/images/gravatar.png)';
        return 
$avatar_defaults;
    }
    
add_filter'avatar_defaults''mts_custom_gravatar' );
}

/*-----------------------------------------------------------------------------------*/
/*    Remove more link from the_content and use custom read more
/*-----------------------------------------------------------------------------------*/
add_filter'the_content_more_link''mts_remove_more_link'10);
function 
mts_remove_more_link$more_link$more_link_text ) {
    return 
'';
}
// shorthand function to check for more tag in post
function mts_post_has_moretag() {
    global 
$post;
    return 
strpos$post->post_content'<!--more-->' );
}

/*-----------------------------------------------------------------------------------*/
/*    Custom Comments template
/*-----------------------------------------------------------------------------------*/
function mts_comment($comment$args$depth) {
    
$GLOBALS['comment'] = $comment?>
    <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
        <div id="comment-<?php comment_ID(); ?>" style="position:relative;">
            <div class="comment-author vcard">
                <?php echo get_avatar$comment->comment_author_email70 ); ?>
                <div class="comment-metadata">
                <?php printf(__('<span class="fn">%s</span>''mythemeshop'), get_comment_author_link()) ?>
                <time><?php comment_date(get_option'date_format' )); ?></time>
                <span class="comment-meta">
                    <?php edit_comment_link(__('(Edit)''mythemeshop'),'  ',''?>
                </span>
                <span class="reply">
                    <?php comment_reply_link(array_merge$args, array('depth' => $depth'max_depth' => $args['max_depth']))) ?>
                </span>
                </div>
            </div>
            <?php if ($comment->comment_approved == '0') : ?>
                <em><?php _e('Your comment is awaiting moderation.''mythemeshop'?></em>
                <br />
            <?php endif; ?>
            <div class="commentmetadata">
                <?php comment_text() ?>
            </div>
        </div>
    </li>
<?php }

/*-----------------------------------------------------------------------------------*/
/*    Short Post Title
/*-----------------------------------------------------------------------------------*/
function mts_short_title($after ''$length){
    
$mytitle get_the_title();
    if ( 
strlen($mytitle) > $length ){
        
$mytitle substr($mytitle,0,$length);
        echo 
$mytitle $after
    }
    else { echo 
$mytitle; }
}

/*-----------------------------------------------------------------------------------*/
/*  excerpt
/*-----------------------------------------------------------------------------------*/
function mts_excerpt($limit) {
  
$excerpt explode(' 'get_the_excerpt(), $limit);
  if (
count($excerpt)>=$limit) {
    
array_pop($excerpt);
    
$excerpt implode(" ",$excerpt);
  } else {
    
$excerpt implode(" ",$excerpt);
  }
  
$excerpt preg_replace('`[[^]]*]`','',$excerpt);
  return 
$excerpt;
}

/*-----------------------------------------------------------------------------------*/
/* nofollow to next/previous links
/*-----------------------------------------------------------------------------------*/
function mts_pagination_add_nofollow($content) {
    return 
'rel="nofollow"';
}
add_filter('next_posts_link_attributes''mts_pagination_add_nofollow' );
add_filter('previous_posts_link_attributes''mts_pagination_add_nofollow' );

/*-----------------------------------------------------------------------------------*/
/* Nofollow to category links
/*-----------------------------------------------------------------------------------*/
add_filter'the_category''mts_add_nofollow_cat' ); 
function 
mts_add_nofollow_cat$text ) {
$text str_replace('rel="category tag"''rel="nofollow"'$text); return $text; }

/*-----------------------------------------------------------------------------------*/ 
/* nofollow post author link
/*-----------------------------------------------------------------------------------*/
add_filter('the_author_posts_link''mts_nofollow_the_author_posts_link');
function 
mts_nofollow_the_author_posts_link ($link) {
return 
str_replace('<a href=''<a rel="nofollow" href=',$link); }

/*-----------------------------------------------------------------------------------*/ 
/* nofollow to reply links
/*-----------------------------------------------------------------------------------*/
function mts_add_nofollow_to_reply_link$link ) {
return 
str_replace'")\'>''")\' rel=\'nofollow\'>'$link );
}
add_filter'comment_reply_link''mts_add_nofollow_to_reply_link' );
    
/*-----------------------------------------------------------------------------------*/
/* Removes Trackbacks from the comment count
/*-----------------------------------------------------------------------------------*/
add_filter('get_comments_number''mts_comment_count'0);
function 
mts_comment_count$count ) {
    if ( ! 
is_admin() ) {
        global 
$id;
        
$comments_by_type = &separate_comments(get_comments('status=approve&post_id=' $id));
        return 
count($comments_by_type['comment']);
    } else {
        return 
$count;
    }
}

/*-----------------------------------------------------------------------------------*/
/* adds a class to the post if there is a thumbnail
/*-----------------------------------------------------------------------------------*/
function has_thumb_class($classes) {
    global 
$post;
    if( 
has_post_thumbnail($post->ID) ) { $classes[] = 'has_thumb'; }
        return 
$classes;
}
add_filter('post_class''has_thumb_class');

/*-----------------------------------------------------------------------------------*/ 
/* Pagination
/*-----------------------------------------------------------------------------------*/
function mts_pagination($pages ''$range 3) { 
    
$showitems = ($range 3)+1;
    global 
$paged; if(empty($paged)) $paged 1;
    if(
$pages == '') {
        global 
$wp_query$pages $wp_query->max_num_pages
        if(!
$pages){ $pages 1; } 
    }
    if(
!= $pages) { 
        echo 
"<div class='pagination'><ul>";
        if(
$paged && $paged $range+&& $showitems $pages
            echo 
"<li><a rel='nofollow' href='".get_pagenum_link(1)."'>&laquo; First</a></li>";
        if(
$paged && $showitems $pages
            echo 
"<li><a rel='nofollow' href='".get_pagenum_link($paged 1)."' class='inactive'>&lsaquo; Previous</a></li>";
        for (
$i=1$i <= $pages$i++){ 
            if (
!= $pages &&( !($i >= $paged+$range+|| $i <= $paged-$range-1) || $pages <= $showitems )) { 
                echo (
$paged == $i)? "<li class='current'><span class='currenttext'>".$i."</span></li>":"<li><a rel='nofollow' href='".get_pagenum_link($i)."' class='inactive'>".$i."</a></li>";
            } 
        } 
        if (
$paged $pages && $showitems $pages
            echo 
"<li><a rel='nofollow' href='".get_pagenum_link($paged 1)."' class='inactive'>Next &rsaquo;</a></li>";
        if (
$paged $pages-&&  $paged+$range-$pages && $showitems $pages
            echo 
"<li><a rel='nofollow' class='inactive' href='".get_pagenum_link($pages)."'>Last &raquo;</a></li>";
            echo 
"</ul></div>"
    }
}

/*-----------------------------------------------------------------------------------*/
/* Single Post Pagination
/*-----------------------------------------------------------------------------------*/
function mts_wp_link_pages_args_prevnext_add($args)
{
    global 
$page$numpages$more$pagenow;
    if (!
$args['next_or_number'] == 'next_and_number')
        return 
$args
    
$args['next_or_number'] = 'number'
    if (!
$more)
        return 
$args
    if(
$page-1
        
$args['before'] .= _wp_link_page($page-1)
        . 
$args['link_before']. $args['previouspagelink'] . $args['link_after'] . '</a>'
    
;
    if (
$page<$numpages
    
        
$args['after'] = _wp_link_page($page+1)
        . 
$args['link_before'] . $args['nextpagelink'] . $args['link_after'] . '</a>'
        
$args['after']
    ;
    return 
$args;
}
add_filter('wp_link_pages_args''mts_wp_link_pages_args_prevnext_add');

/*-----------------------------------------------------------------------------------*/
/* add <!-- next-page --> button to tinymce
/*-----------------------------------------------------------------------------------*/
add_filter('mce_buttons','mts_wysiwyg_editor');
function 
mts_wysiwyg_editor($mce_buttons) {
   
$pos array_search('wp_more',$mce_buttons,true);
   if (
$pos !== false) {
       
$tmp_buttons array_slice($mce_buttons0$pos+1);
       
$tmp_buttons[] = 'wp_page';
       
$mce_buttons array_merge($tmp_buttonsarray_slice($mce_buttons$pos+1));
   }
   return 
$mce_buttons;
}

?>


Eric August 28th, 2014 05:13 PM

Hi,

You are adding the code to the wrong place. It should not be added to your functions.php file.

See step #1 here: http://www.datafeedr.com/forums/show...0418#post50418

Eric

Estrella86 August 28th, 2014 05:15 PM

Quote:

Originally Posted by stefan (Post 50421)
As a sidenote... when I was looking into the source code of your store pages I noticed that you're using the "Yoast WordPress SEO plugin".

To avoid canonical link issues you should apply the instructions here: http://www.datafeedr.com/forums/showthread.php?t=8262 (second post)

I was referring to this .. there it says to add it to functions.php?

Eric August 28th, 2014 05:22 PM

Quote:

Originally Posted by Estrella86 (Post 50428)
I was referring to this .. there it says to add it to functions.php?

You've removed the code from your functions.php file therefore I can't help you figure out what the issue is.

Estrella86 August 28th, 2014 05:47 PM

You know what the weirdest thing is? I have another site, of which I changed the theme into the exact same theme as babyaccessoires.eu (Point). I then copy paste functions.php and now it still gives the same error. If it were actually the 'unexpected <' in functions.php, then this should've been resolved when adding the right code, right?

Weird...

Anyway, I understand you can't help me. Thanks for all the other help though

Eric August 28th, 2014 05:50 PM

That is weird. My guess is that your text editor is adding 'hidden' characters when you are copying and pasting.

Estrella86 August 28th, 2014 05:54 PM

Hmm, could be. I'll try and analyze the whole thing, somehow.. :confused:

Hidden characters don't really make things easier!

Estrella86 August 28th, 2014 06:07 PM

Now I can't even get into functions.php anymore. I'll just re-install the whole site tomorrow I think. Not sure anything else will work, seeing as I'm not able to make any changes anymore. I'm guessing that re-installing should work.

Have a nice day/evening!

stefan August 28th, 2014 06:50 PM

1 Attachment(s)
I've installed your theme (https://wordpress.org/themes/point) on a test site of mine and added the code and the site is still functioning fine after uploading the file.

Therefore instead of reinstalling the whole thing can you just download the functions.zip file I attached with this post and upload the functions.php in the zip package in your wp-content/themes/point/ folder and see if that works?

Estrella86 August 29th, 2014 05:08 AM

Good morning!
Thanks for trying to help me out again! Apparently I don't need it though: what happened kinda gives a whole new meaning to the phrase 'help yourself': when I woke up this morning, everything was alright :confused: which is good, obviously, but weird, right?

Anyway, it's working again, so I can go on trying to fix the 'read more' toggle thing and such. I think I'll just never try and touch functions.php again though. I'm also afraid to add the canonical link bit you, Stefan, pointed out to me, since I have to put that in functions.php. Maybe it wasn't my fault at all and just had something to do with... something else? Seeing as it works fine now without doing anything... or maybe it just needed some 'time to heal' after I copy pasted the new functions.php text...

Thanks so much for adding this helpful bit though: hadn't it worked now, it probably would have with your zip file, I think!

Edit: right... apparently it's not that weird at all: while I was stressing out yesterday night I texted my brother and apparently he could find the error (he can go into my database and everything) and fixed it. I just texted him all happy like no worries, it works again. And then he texted me back: you think some gnomes did that? (it's an expression in Dutch, don't know whether you can understand it, I think in English it's something like: 'you think it just fell out of the sky?' or 'you think that just came out of nowhere?' I think)

Right, I need to go now.. go laugh at myself for thinking it actually came out of nowhere..

Eric August 29th, 2014 08:50 AM

Glad you got things worked out! Nice work.


All times are GMT -5. The time now is 04:53 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.