GrayHunter
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] A huge problem with IEI have tried this and had to activate share-buttons again due to this didn’t help.
Check pls – now share-buttons is deactivated. Tell me if it is OK now or how can I fix it?
Forum: Plugins
In reply to: [Contact Form 7] A huge problem with IE1245.ru/forma-zakaza
Oh, and how can I show
<ol>list (numbered), not<ul>?Should be
printf('<a href="%s">%s</a>: %s', $p['guid'], $p['post_title'], $p['my_custom_field']); }Thx A LOT
// Enable qTranslate for WordPress SEO function qtranslate_filter($text){ return __($text); } add_filter('wpseo_title', 'qtranslate_filter', 10, 1); add_filter('wpseo_metadesc', 'qtranslate_filter', 10, 1); add_filter('wpseo_metakey', 'qtranslate_filter', 10, 1);works with 3.4.1 – thx
Forum: Themes and Templates
In reply to: How can I get the post slug from a post ID?<?php echo $post->post_slug(1); ?>
does not work…[No bumping, thank you.]
Forum: Themes and Templates
In reply to: How can I get the post slug from a post ID?This is a part of my code (there are several such pieces of different posts):
<?php $post_id_title = get_the_title(1); if (is_single($post_id_title)) { ?> <li><a href="<?php bloginfo('url'); ?>/#slug" class="selected"><span><?php the_title(); ?></span></a></li> <?php } else { ?> <li><a href="<?php bloginfo('url'); ?>/#slug"><span><?php echo get_the_title(1); ?></span></a></li> <?php } ?>Here is “#slug” – I do need to get the slug by ID. The code Andrew Nevins gives me above is difficult to add to this for me…
Forum: Themes and Templates
In reply to: How can I get the post slug from a post ID?Yes:
I have the post with ID 111 and the post with ID 222. So I need the code which gives me the slug of the post with ID 111 (by ID) and the same with 222.Forum: Themes and Templates
In reply to: How can I get the post slug from a post ID?I have several posts which I show the title of. So I need to use ID of the post each time. Could you give me the code of the topic question pls?
And is it possible to find the img using its ID? How?
Help me pls, it’s vital for me.
I found the form from the admin pannel:
<form class="search-form" action="" method="get"> <p class="search-box"> <label class="hidden" for="media-search-input">Поиск изображений:</label> <input type="hidden" id="page-name" name="page" value="nggallery-manage-gallery"> <input type="text" id="media-search-input" name="s" value="Букет №66"> <input type="submit" value="Поиск изображений" class="button"> </p> </form>But it doesn’t find anything in the front of the site. Why?
Forum: Plugins
In reply to: [Cross-Linker] [Plugin: Cross-linker] Cyrillic alphabet supportEretig, thx a lot.
janhvizdak, what has changed?
Forum: Plugins
In reply to: [Related Posts Slider] [Plugin: Related Posts Slider] still not working28.01.2012 – where is the new version? PLS, give it us.
Forum: Plugins
In reply to: [Cross-Linker] [Plugin: Cross-linker] Cyrillic alphabet supportGreat! Thx.
but were (what lines in what file) should I add these all?
Forum: Plugins
In reply to: Syntax for Custom PHP fieldUp