Corneliatt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: A critical error… message without errorsHi @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!
Forum: Fixing WordPress
In reply to: Broken images just in admin dashboardHi,
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 🙂
Forum: Fixing WordPress
In reply to: Broken images just in admin dashboardBut 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 :/
Forum: Fixing WordPress
In reply to: Broken images just in admin dashboardNot sure if I understand what you mean. Could you please explain? 🙂
Forum: Fixing WordPress
In reply to: Broken images just in admin dashboardWhere 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 twiceHi 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 twiceHi!
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
Forum: Hacks
In reply to: Custom post categories doesn't show up in menuOhh.. 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!! 😀
Forum: Hacks
In reply to: Custom post categories doesn't show up in menuHi 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!!Forum: Hacks
In reply to: Custom post categories doesn't show up in menuHi!
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??Forum: Fixing WordPress
In reply to: jQuery slideUp() functions.php for archive pageOk, 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!
Forum: Fixing WordPress
In reply to: jQuery slideUp() functions.php for archive pageThe 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?Forum: Fixing WordPress
In reply to: jQuery slideUp() functions.php for archive pageI 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.jsand 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.1But 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?
Forum: Hacks
In reply to: Strip down get_the_title() – compare with CPTThank you 🙂