Uendi
Forum Replies Created
-
Forum: Plugins
In reply to: [Dynamic Featured Image] Featured Image Not Showing UpI have also installed Dynamic Featured Image plugin. I notice this plugin is quite easier than the other plugin. However, I notice that once the second image is selected by clicking “insert into post” button. The whole box becomes blank. I have tried to deactivate some of the plugin. It is still the same. Do you have any solution ?
Thanks.
Forum: Plugins
In reply to: [Dynamic Featured Image] Featured Image Not Showing UpHi
I paste this code to functions.php :
if( class_exists( ‘kdMultipleFeaturedImages’ ) ) {
$args = array(
‘id’ => ‘featured-image-2’,
‘post_type’ => ‘page’, // Set this to page
‘labels’ => array(
‘name’ => ‘Featured image 2’,
‘set’ => ‘Set featured image 2’,
‘remove’ => ‘Remove featured image 2’,
‘use’ => ‘Use as featured image 2’,
)
);new kdMultipleFeaturedImages( $args );
}and this code to page.php :
if( class_exists( ‘kdMultipleFeaturedImages’ ) ) {
kd_mfi_the_featured_image( ‘featured-image-2’, ‘page’, ‘full’ );
}Thanks.
Forum: Plugins
In reply to: [Posts in Page] Featured Image Not Showing UpYou can refer to this:
http://wordpress.org/support/topic/how-to-add-featured-image?replies=27 – this refers to adding featured image, but applies to any changes you want to make to the loop.
However, my problem is, the featured-image in the page is not showing up ?
Thanks.
Forum: Plugins
In reply to: [Posts in Page] Featured Image Not Showing UpNo. I added this code to the function.php, as shown below:
/** Link all post thumbnails to post permalink */
add_filter( ‘post_thumbnail_html’, ‘my_post_image_html’, 10, 3 );
function my_post_image_html( $html, $post_id, $post_image_id ) {
$html = ‘‘ . $html . ‘‘;
return $html;
}and another code to the posts_loop_template.php into my directory :
<!– This will output of the featured image thumbnail –>
<div class=”featured-image”>
<?php the_post_thumbnail( array(180,9999), array(‘class’ => ‘alignleft’)); ?>
</div>Thanks.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Wrong Link To /Category/Thank you for your instant reply.
As the /store/books and /category/books automatic all appears after I click on them and I didn’t change anything at all.
If I use category archives instead of Pages, then what do I need to do
now ?Thanks.
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Conflict with this pluginNo as I have resolved it.
Thank you very much.
Forum: Themes and Templates
In reply to: Twenty ThirteenThere is an update for version 1.1, so I tried to update the Twenty Thirteen. However, it shows :
Warning: touch() [function.touch]: Unable to create file /tmp/twentythirteen.tmp because No such file or directory in /home/xxxxx/xxxxx/xxxxx/includes/file.php on line 155
Warning: unlink(/tmp/twentythirteen.tmp) [function.unlink]: Operation not permitted in /home/xxxxx/xxxxx/xxxxx/includes/file.php on line 479
An error occurred while updating Twenty Thirteen: Download failed. Could not open handle for fopen() to /tmp/twentythirteen.tmp
Forum: Plugins
In reply to: [Basic Comment Quicktags] Adding More QuicktagsThanks for your advise.
Even if I am able to edit the source code to add more, the code will sitll be lost when there is an update. In other words, is there any way to keep them ?
Thanks.
Yes and thank you so much for your update.
Forum: Plugins
In reply to: [Theme My Login] Sign In and Register show at the top of the siteNo, I create a child theme. I have copied the php file into my directory. So even there is an update, it won’t affect my setting.
Thanks.
Forum: Plugins
In reply to: [Theme My Login] Sign In and Register show at the top of the siteBy adding filter to functions.php
add_action( ‘register’ , ‘register_replacement’ );
function register_replacement( $link ){
if ( ! is_user_logged_in() ) {
if ( get_option(‘users_can_register’) )
$link = $before . ” . __(‘Register’) . ” . $after;
else
$link = ”;
} else {
$link = $before . ” . __(‘Your Title Here’) . ” . $after;
}
return $link;
}
and Header.php :
<?php wp_register( $before, $after ); ?>
Forum: Plugins
In reply to: [Theme My Login] Sign In and Register show at the top of the siteI have already resolved it.
Thanks.
Forum: Plugins
In reply to: [Theme My Login] Remove hyphen ( – ) signYes, it’s really a link and I have inserted a css style from your advice :
li:before { display: none; }
It works and it really disappear. Thank you so much.
Hello,
Thank you for your prompt reply. I have inserted this code in under Header.php :
<?php wp_register( $before, $after ); ?>
and also added in a filter:
add_action( ‘register’ , ‘register_replacement’ );
function register_replacement( $link ){
if ( ! is_user_logged_in() ) {
if ( get_option(‘users_can_register’) )
$link = $before . ‘‘ . __(‘Register’) . ‘‘ . $after;
else
$link = ”;
} else {
$link = $before . ‘‘ . __(‘Your Title Here’) . ‘‘ . $after;
}
return $link;
}
Yes, it really works on my site.
Thank you.
Thank you for your prompt reply.
I have inserted a shortcode [wppb-edit-profile] to the “Edit Profile” page. I’m thinking how to remove the name “Edit Profile” from the nav menu bar and insert/link this name at the top of right corner of the site just beside ‘ log in | ‘ ?
Thanks.