Forum Replies Created

Viewing 15 replies - 1 through 15 (of 32 total)
  • Thread Starter Corneliatt

    (@corneliatt)

    Hi @kuckovic ,

    strangely enough, when enabling debugging the error message disappeared. And when putting it to false again, the error message didn’t come back. Don’t know what could have been causing the error, but it seems to work now 🙂

    Hi there,

    Thanks for your reply!

    ”Utbildningar” is translated from the original custom post type ”Programs” through Polylang Pro. So everywhere else on the website it says ”Utbildningar” when on the Swedish site. Everywhere except the breadcrumbs that is :/ 

    Please let me know if you need anything else from me!

    Thread Starter Corneliatt

    (@corneliatt)

    Hi,
    bumping this post, as I still haven’t find a solution to this problem. Does anyone know how to solve this?

    All images works fine on site, but in the admin area image thumbnails won’t show up, even on newly uploaded images. This happened after moving the installation from a sub domain to the root.

    Hope someone could help me 🙂

    Thread Starter Corneliatt

    (@corneliatt)

    But as I said, the images in the frontend of the website is working, but it’s in the backend that they won’t show up. This also includes newly uploaded images. Works fine on the site, but not in the admin :/

    Thread Starter Corneliatt

    (@corneliatt)

    Not sure if I understand what you mean. Could you please explain? 🙂

    Thread Starter Corneliatt

    (@corneliatt)

    Where can I change the references to old url just for the admin part and not for the actual site? In the options for the The Velvet Blues Update URLs plugin I can’t see that choice? :S

    Forum: Hacks
    In reply to: My startpage loops twice
    Thread Starter Corneliatt

    (@corneliatt)

    Hi again!
    Ok, so now I’ve got one step closer to solving this.

    The loop loops twice only when I’ve got two posts (but I just wanna show one!!). When I delete the second post, everything goes back to how it should. How do I set a limit to just ONE post on just the index page (not on the categories pages and so on). Have tried
    <?php query_posts('showposts=1'); ?>
    without any luck…

    Would be so thankful!

    Forum: Hacks
    In reply to: My startpage loops twice
    Thread Starter Corneliatt

    (@corneliatt)

    Hi!

    I forgot to show you the index file content:

    get_header(); ?>
    		<?php if ( have_posts() ) :
    		 ?>
    
    			<?php if ( is_home() && ! is_front_page() ) : ?>
    
    				<header>
    					<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
    				</header>
    			<?php endif; ?>
    <section class="spacer animatedParent animateOnce data-appear-top-offset='30'">
    			<?php
    			// Start the loop.
    			 while ( have_posts() ) : the_post();
    
    				/*
    				 * Include the Post-Format-specific template for the content.
    				 * If you want to override this in a child theme, then include a file
    				 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    				 */
    				get_template_part( 'content-start', get_post_format() );
    
    			// End the loop.
    			endwhile;
    
    			// Previous/next page navigation.
    			the_posts_pagination( array(
    				'prev_text'          => __( 'Previous page', 'betavivo' ),
    				'next_text'          => __( 'Next page', 'betavivo' ),
    				'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'betavivo' ) . ' </span>',
    			) );
    
    		// If no content, include the "No posts found" template.
    		else :
    			get_template_part( 'content', 'none' );
    
    		endif;
    		?>
    </section>
    <?php  get_footer(); ?>

    Nobody who knows what could be the problem here?? Have I managed to do something super weird? :S

    Thread Starter Corneliatt

    (@corneliatt)

    Ohh.. I’m soo stupid. Now I found why it didn’t work… Almost embarrased to tell you why. But I didn’t end the taxonomy registration of the previous custom post type right, so it messed up the whole quote taxonomy. Thank you guys for trying to help me out!! 😀

    Thread Starter Corneliatt

    (@corneliatt)

    Hi again!
    Thanks for your responds! The thing I don’t get is why it’s just this custom post type taxonomy that doesn’t work. I’ve set two more and these ones works just fine! I’ll try your ideas out, but as I said, I can’t understand why it’s just this one thats bugging!!

    Thread Starter Corneliatt

    (@corneliatt)

    Hi!
    Thanks for your answer, but that didn’t solve the problem. Instead, the post type didn’t get registered at all! :/ I’ve now moved all the post type registration before the taxonomy, but it’s still the same… Any other ideas??

    Thread Starter Corneliatt

    (@corneliatt)

    Ok, so now I know that at least the first part of the toggle script works. I forgot to show you that part earlier:

    $(document).ready(function(){
        $(this).scrollTop(0);
    	$('.toggle').addClass("hidden");
    });

    The toggle div has the hidden class, so that works. So it must be link function that somehow doesn’t want to “execute” on click. I tried to put the link and the toggle div in the same echo, thought it could be something with the .prev(), but no… Have also tried to change to .next() but nothing…

    Gahh, this drives me crazy!

    Thread Starter Corneliatt

    (@corneliatt)

    The thing is, I don’t have a web space for it yet, so it’s only local right now.
    Maybe I could add some more code to this thread instead? Or what do you reckon?

    Thread Starter Corneliatt

    (@corneliatt)

    I just checked through the console results:
    the toggle script loads in 28 ms and the 110 ms, but the jquery is before the toggle script in the list? (haven’t looked at this before so can’t really analyze the output 😛 )

    Umm.. could it be some kind of conflict between two jquery links?
    I’ve loaded “my” jquery from: http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js

    and in the list I saw that there was also jquery scripts included from:
    /wp-includes/js/jquery/jquery.js?ver=1.11.1
    /wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1

    But at the same hand it’s working on the other pages. It’s just on this archive page it doesn’t work… Hmm do you have any clue?

    Thread Starter Corneliatt

    (@corneliatt)

    Thank you 🙂

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