Forum Replies Created

Viewing 10 Topics - 1 through 10 (of 10 total)
Author Posts
March 31, 2014 at 5:29 pm in reply to: Custom field for image upload in post body 17667
M M

Got it working by putting this in my single.php:
<?php echo '<div class="kennellogo">'; echo do_shortcode('[wpuf-meta name="logo" type="image"]'); echo'</div>'; the_content(); ?>

January 26, 2014 at 4:26 pm in reply to: Tags autocomplete 14785
M M

Sorry, never mind. Solved it because the user had the wrong role

January 26, 2014 at 1:00 pm in reply to: Improve autocomplete tag functionnality 14782
M M

I am curious too. This is a great functionallity

January 7, 2014 at 3:23 pm in reply to: Ajax functionality 14204
M M

Never mind, I have got it, thanks a lot

January 7, 2014 at 3:20 pm in reply to: Ajax functionality 14203
M M

Sometimes solutions can be so simple 🙂

Can you help me how to put it in my functions.php?

January 7, 2014 at 12:09 pm in reply to: Ajax functionality 14199
M M

Maybe there are two other alternatives you can provide?

First one:

All categories and sub-categories appear in 1 dropdown , but the main category can not be selectable

Second option:
Make the checkboxes radiobuttons, so in this case only 1 sub-categorie can be selected.

January 7, 2014 at 3:21 am in reply to: Ajax functionality 14194
M M

I know what it does, it disables the parent categories from being selectable
See this link

I wonder if it is possible to embed it with the solution you provided in your first reply.

January 6, 2014 at 9:55 pm in reply to: Ajax functionality 14185
M M

Maybe you can help me out. I came accross this solution, but this is for back-end posting. Can you please help me out so I can use it in your front-end plugin:

I don’t know how to re write it and put it in my functions.php:


add_action( 'admin_footer-post.php',     'disable_top_categories_checkboxes' );
add_action( 'admin_footer-post-new.php', 'disable_top_categories_checkboxes' );

/**
 * Disable parent checkboxes in Post Editor.
 */

function disable_top_categories_checkboxes() {
    global $post_type;

    if ( 'post' != $post_type )
        return;
    ?>
        <script type="text/javascript">
            jQuery( "#category-all ul.children" ).each( function() {
                jQuery(this).closest( "ul" ).parent().children().children( "input" ).attr( 'disabled', 'disabled' )
            });
        </script>
    <?php
}
January 6, 2014 at 7:50 pm in reply to: Ajax functionality 14177
M M

I would realy like to know is there is a solution for this problem. Otherwise, I would have to ask you to deposit my money back. (Currently developping on localhost, so I did not activate it yet)

My whole site depends on user submitted posts and the categorie selection is very important.

January 6, 2014 at 3:41 pm in reply to: Ajax functionality 14174
M M

Hi,

Thanks for the quick reply. I did came accross this function and already put it in my functions.php, but the problem with this function is, that the post is also saved in the main-category because it is selected. It only has to be saved in the sub-category

Viewing 10 Topics - 1 through 10 (of 10 total)