DJManas
Forum Replies Created
Viewing 8 replies - 1 through 8 (of 8 total)
-
Ok I will try with a fresh installation and fresh updated plugins and let you know.
There is something like this: https://awesomescreenshot.com/0762ltzy33
Than you try Text mode there is no box for text.
Link to plugin: https://www.advancedcustomfields.com
Please let us know if you will fix it ;p
Forum: Plugins
In reply to: [Dave's WordPress Live Search] Does this plugins works with 3.7.1 wordpress?The problem was because I used wrong search form in tempalte.
With this form everything works okey:
<div id="searchform"> <div class="sinside" > <form role="search" method="get" class="search-form" action="https://localhost/NewNordVPN/" autocomplete="off"> <input autocomplete="off" type="text" name="s" class="keyword" placeholder="<?php echo __('Search..','nordvpn'); ?>" value="" > <div class="sico"></div> <input type="hidden" name="lang" value="<?php echo(ICL_LANGUAGE_CODE); ?>"/> <div class="clear"></div> </form> </div> </div>
Forum: Plugins
In reply to: [Dave's WordPress Live Search] Does this plugins works with 3.7.1 wordpress?Nevermind tested it with default theme and its works so the problem is with my theme.
Forum: Plugins
In reply to: [Dave's WordPress Live Search] I can't exlude page from live searchDamn you are right ?? So how to exlude a page from search result?
Forum: Fixing WordPress
In reply to: How to get post ID in the loop in the custom template for page?<?php global $post; ?> <?php $my_query = get_posts('category=5'); ?> <?php foreach($my_query as $post) : ?> <?php $thumb_ids = get_post_thumbnail_id( $post->ID ); ?> <?php $images = wp_get_attachment_image_src( $thumb_ids,'full' ); ?> <div class="item"> <div class="ipop"></div> <a href=""><img width="260px" height="137px" class='imgpop' tekst='<?php echo get_post_meta($post->ID, 'caption_lt', true); ?>' src="<?php echo $images[0]; ?>"></a> </div> <?php endforeach; ?>
I used this loop instead of this and evrything works now ??
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php $thumb_ids = get_post_thumbnail_id( $post->ID );?> <?php $images = wp_get_attachment_image_src( $thumb_ids,'full' ); ?> <div class="item"> <div class="ipop"></div> <a href=""><img width="260px" height="137px" class='imgpop' tekst='<?php echo get_post_meta(42, 'caption_lt', true); ?>' src="<?php echo $images[0]; ?>"></a> </div> <?php endwhile; ?> <?php endif; ?>
Forum: Fixing WordPress
In reply to: How to get post ID in the loop in the custom template for page?<?php $thumb_ids = get_post_thumbnail_id( $post->ID );?>
In this line the loop gives me not the current post ID but the page ID. ??
Viewing 8 replies - 1 through 8 (of 8 total)