oleav
Forum Replies Created
-
Forum: Plugins
In reply to: [SEO Friendly Images] No alt or title tagThanks, but didnt work for me… :/
Thank you
Thank you. That solved the problem ??
Just another question, how would you have edited this so this showed all post types:
<?php $the_query = new WP_Query( 'posts_per_page=50' ); //Check the WP_Query docs to see how you can limit which posts to display ?> <?php if ( $the_query->have_posts() ) : ?> <div id="isotope-list"> <?php while ( $the_query->have_posts() ) : $the_query->the_post(); $termsArray = get_the_terms( $post->ID, "category" ); //Get the terms for this particular item $termsString = ""; //initialize the string that will contain the terms foreach ( $termsArray as $term ) { // for each term $termsString .= $term->slug.' '; //create a string that has all the slugs } ?> <div class="<?php echo $termsString; ?> item col-md-3"> <?php // 'item' is used as an identifier (see Setp 5, line 6) ?> <h3><?php the_title(); ?></h3> <?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?> </div> <!-- end item --> <?php endwhile; ?> </div> <!-- end isotope-list --> <?php endif; ?>
I have tried inserting an array, but it didnt work:
$anyposttype = array('post_type' => 'any'); $termsArray = get_the_terms( $post->ID, "category", $anyposttype); //Get the terms for this particular item
Forum: Plugins
In reply to: [Instagram Picture] cant update pictures, curl is enabledThanks for very quick answer! ??
I have just started with php, so feeling kinda noob… Where do I find out that CURL is enabled on my server?
Forum: Plugins
In reply to: [Instagram Picture] cant update pictures, curl is enabledWhat do you mean?
The line 57 is
curl_init();
Forum: Plugins
In reply to: [Instagram Picture] cant update pictures, curl is enabledHaving the same problem… Any ways to solve this problem?
Fatal error: Call to undefined function curl_init() in /home/oleav/public_html/fll/wp-content/plugins/instagram-picture/inc/update.php on line 57