vincentlopy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: search templates based on post typeI resolved myself this issue and FREE!!
This is correct code:
<?php if( get_post_type() == 'dog' ) { include( TEMPLATEPATH.'/search2.php' ); }else if ( get_post_type() == 'cat' ) { include( TEMPLATEPATH.'/search2.php' ); }else if ( get_post_type() == 'wolf' ) { include( TEMPLATEPATH.'/search2.php' ); }else if ( get_post_type() == 'leon' ) { include( TEMPLATEPATH.'/search2.php' ); }else if ( get_post_type() == 'tiger' ) { include( TEMPLATEPATH.'/search2.php' ); }else if ( get_post_type() == 'panther' ) { include( TEMPLATEPATH.'/search2.php' ); }else if ( get_post_type() == 'mouse' ) { include( TEMPLATEPATH.'/search3.php' ); }else if ( get_post_type() == '' ) { include( TEMPLATEPATH.'/search4.php' ); } ?>Forum: Fixing WordPress
In reply to: Load post with a different templateMy friend wrote this code, but doesn’t work:
http://pastebin.com/Unwb6DxUForum: Plugins
In reply to: [Front-end Editor] taxonomy should get a dropdownresolved Scribu. I have changed in base.php
if ( $inline || in_array( $data['type'], array( 'input', 'image' ) ) ) $wrap_tag = 'span'; else $wrap_tag = 'div';to
if ( $inline || in_array( $data['type'], array( 'input', 'image' ) ) ) $wrap_tag = 'span'; else $wrap_tag = 'span';So only elements is in span attribute. (like in version 1.93.) Its really better so, because there are not problems with alignment in tables.
Forum: Plugins
In reply to: [Front-end Editor] taxonomy should get a dropdownI have done, but the issue is caused for div element:
<div data-type="input" data-post_id="264" data-key="spese_condominiali_annue" data-values="[]" data-i="0" class="fee-field fee-filter-post_meta fee-inline" style="display: block; ">1100</div>
To resolve, should be:
<span data-type="input" data-post_id="264" data-key="spese_condominiali_annue" data-values="[]" data-i="0" class="fee-field fee-filter-post_meta fee-inline" style="display: block; ">1100</div>
Is there a way to replace <div… with <span… ?Forum: Plugins
In reply to: [Front-end Editor] taxonomy should get a dropdownIm still having problems, this is code
<div data-type="textarea" data-post_id="264" data-key="richiesta_prezzo" data-values="[]" data-i="0" class="fee-field fee-filter-post_meta">800000</div>Forum: Plugins
In reply to: [Front-end Editor] taxonomy should get a dropdownits not look same. this is class attribute: screenshot. Which file contains setting about div or span?
Forum: Plugins
In reply to: [Front-end Editor] taxonomy should get a dropdownWith version 1.9.3 there is this <span data-type=”textarea”, in version 2.0-alpha, <div data-type=”textarea”.
Forum: Plugins
In reply to: [Front-end Editor] taxonomy should get a dropdowngreat, thanks Scribu, now its very good.
Only a strange issues in page: check this screenshot, with ufficial version of this plugin, only elements are on same row, now in 3 different rows.
Check also this screenshot, text (word “appartamento”) has issues about align.Forum: Plugins
In reply to: [Front-end Editor] taxonomy should get a dropdownHello Scribu,
great, code working very fine. Thanks! Only a problem, custom taxonomy is popolated only from values that have associated post. In others words, values that are not actives (without post/posts) are not presents when I edit taxonomy. Is it possible populate with all values?Forum: Themes and Templates
In reply to: How to display total number of posts found/fetchedHello, try to check this page: http://www.problogdesign.com/wordpress/3-codes-for-a-far-better-wordpress-search-page/
I hope its helps…
bye