omniafausta
Forum Replies Created
-
Forum: Plugins
In reply to: [a3 Portfolio] portfolio item display maximum items per rowthe ‘problem’ with 6 appears to not be a problem (found a css solution)
But I still have the question of how to get more than 6 thumbnails in a row.I had something similar on a site. I contacted my host and they activated a higher version of php on the server. Problem was solved for me.
But as you might have seen: similar problems have different solutions. I haven’t seen the higher php solution yet, so I thought I’d mention it.
I was lucky in a way: I had several sites with the same host, and just 1 with the problem, so they could compare server settings…
I have put it on my page.php, where depends on where you want it, and what theme you are using.
I am building a child-them on twentythirteen and have place it after the content div is closed, but bfore the primary div is closed. But there are of course other places where you could place them.important is to change the if (is_page( )) into the name or id of the page you want to have it appear on.
Or you could just make a separate template for the page(s) you want it on and leave off the if (is page( )).Within the while (have posts()) you can call up several possible items in the way you want them, you don’t need to have it exactly as I have it.
Good luck, hope it helped 🙂
okay, figured it out, this is the code I use on my page template
<!-- places the event-list on page cultuur-agenda --> <?php if (is_page( 'cultuur-agenda' )) { query_posts(array( 'showposts' => 10, 'post_type' => 'tribe_events', 'eventDisplay'=>'upcoming', 'posts_per_page'=>100, )); ?> <div id="event-list"> <ul> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <li> <div class="event-date-and-time"> <span class="event-day"><?php echo tribe_get_start_date(null, false, 'l'); ?> <br /></span> <span class="event-date"><?php echo tribe_get_start_date(null, false, 'j F'); ?><br /></span> <span class="event-year"><?php echo tribe_get_start_date(null, false, 'Y'); ?><br /></span> </div> <?php the_post_thumbnail( 'thumbnail'); ?> <div class="event-excerpt"> <a href="<?php the_permalink(); ?>"> <h2><?php the_title(); ?></h2> </a> <?php the_excerpt(); ?> <a href="<?php the_permalink(); ?>" class="leesmeer">lees meer </a> </div> </li> <?php endwhile; ?> <?php endif; ?> </ul> </div><!-- #event-list --> <?php } ?>Forum: Plugins
In reply to: [Special Recent Posts] Post Content Lengthif your posts don’t have an excerpt, you could choose display post excerpt instead of post content… that would work, even though I think putting 0 would be a nicer solution (but since that doesn’t work…)
Forum: Plugins
In reply to: [Special Recent Posts] post content length in widget setting not workingupdate:
it does work if I choose number of characters, so I selected that option now, but I prefer number of words…
So I would really appreciate it if this could be fixed.Thanks!
Forum: Fixing WordPress
In reply to: Loading Java in header.php for Contact Form 7http://codex.ww.wp.xz.cn/Function_Reference/wp_head
<?php ... /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> </head>Forum: Fixing WordPress
In reply to: Loading Java in header.php for Contact Form 7If I am reading correctly, what they are saying is that your theme might not include wp_head() and wp_footer().
Have you checked in the theme folder, in the file called header.php to see if it says wp_head() somewhere? And the same goes for footer.php and wp_footer()?
Forum: Fixing WordPress
In reply to: HTTP error when using media uploaderI had something like this once on a site, and am thinking very hard what the solution was back then…
I think it was a memory issue… (but not sure)
If that’s the case it can probably do something about that by allowing php and/or WordPress more memory (though a php.in, the wp_config file and/ort .htaccess)
Or by calling your webhostForum: Fixing WordPress
In reply to: Nonprofit Site Broken Images and widget issueslooked like the problem is not that the image is gone, but the path to the image is not correct.
So you need to place the image again, by either uploading or from the media libraryForum: Fixing WordPress
In reply to: Nonprofit Site Broken Images and widget issuesYou still have some URL issues…
For instance on this page the URL to your header image starts with
https:///wp-content/uploads/
etc instead of
http://www.tlpchicago.org/wp-content/uploads/
etc.Can’t say that I know where it went wrong, but reuploading should work…
Which widgets don’t work and what goes wrong?
Forum: Fixing WordPress
In reply to: change javascript from theme in childthemeOkay, after searching some more, I still couldn’t find a way to just override that one part from the Javascript.
So this is what I ended up doing:
– I copied the .js to my childtheme,
– edited the copy (comented out the line I didn’t want,
– added a few lines to my functions.php tot deregister the old .js and enqueue the new one:// removing and replacing a javascript add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 ); function my_deregister_javascript() { wp_dequeue_script( 'ttfmake-admin-edit-page' ); wp_deregister_script( 'ttfmake-admin-edit-page' ); } wp_enqueue_script( 'ttfmake-admin-edit-page-edited', get_template_directory_uri() . '/js/admin/edit-page.js', array( 'jquery' ), TTFMAKE_VERSION, true );And it works 😀
Forum: Fixing WordPress
In reply to: Page name covers logoIt might be a good idea to post some more info, like:
could you post a link to your site?
what theme are you using?
Does this problem also occur if you use a different theme?Forum: Fixing WordPress
In reply to: Site doesn't appear in google searchProbably a silly question, but have you maybe blocked search engines to index your site in the WP settings under Settings > Reading ?
Forum: Plugins
In reply to: [WooCommerce] woocommerce – database updateHi,
Thanks for your reply. Sorry I didn’t react sooner, there were some more urgent issues to take care of first…
But I think you may have helped me big time there…
I was so stuck in my mind doing it through phpmyadmin that I forgot the export and import function of WP itself…
Looks like that is exactly what I need!THANKS!!