palmtree

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 85 total)
  • Author
    Posts
  • in reply to: Testimonial details – client & client details #32009
    palmtree
    Participant

    Thank you. Upon the release, it would be appreciated if you could tell me which files need to be updated. I use child theme to customize the theme so if entire parent theme (all the files) needs total replacement, I have to re-do all my work from scratch… I want to avoid that.

    in reply to: testimonials-shortcodes.php is gone now #32008
    palmtree
    Participant

    Thank you. Upon the release, it would be appreciated if you could tell me which files need to be updated. I use child theme to customize the theme so if entire parent theme (all the files) needs total replacement, I have to re-do all my work from scratch… I want to avoid that.

    in reply to: custom post type #32001
    palmtree
    Participant

    I just would like to give you an update.
    I could change all the labels (mentioned above) in the admin menu by using add_action function register_post_type & taxonomy.

    However inside “Testimonial” admin editing page, I cannot change columns title names inside table TH tags such as Title, Testimonial name, image, details or order…
    I tried to write following in functions.php but only label name could change to Voice.

    add_action('init', 'makeCustomPostType');
    function makeCustomPostType(){
      register_post_type('testimonials', array(
        'label' => 'Voice',
    	'public' => true,
    	'columns' => array(
    		'title' => 'Name',		   
    		'testimonial' => 'Details',
    		'testimonial-customer-image' => 'Picture',
    		'testimonial-customer-name' => 'Place',
    		'testimonial-customer-details' => 'Date',
    		'testimonial-order' => 'Order',
    	)
      ));
    }

    Obviously columns array does not do anything here…
    It would be amazing if you could give me some magic code.

    in reply to: specialization page not working on 4.9.1 #28899
    palmtree
    Participant

    Sorry I’ve realized, it works fine! I will close this ticket.

    in reply to: Customize post category output in sitemap page #27769
    palmtree
    Participant

    Got sorted out myself.

    $terms = get_categories( array(
      'orderby' => 'name',
      'parent'  => 0,
         ) );
    echo '
      '; foreach ($terms as $term) { $categories = get_categories('child_of='.intval($term->term_id)); echo '
    • term_id). '">'.$term->name.''; echo '
        '; foreach ($categories as $category) { if ($category->parent==$term->term_id): echo '
      • '.$category->cat_name.'
      • '; endif; } echo '
      '; echo '
    • '; } echo '
    ';

    🙂

    in reply to: Customize post category output in sitemap page #27768
    palmtree
    Participant

    Hello,

    Currently the code below creates Parent and children underneath structure but child category URL isn’t output properly. Could you give me your advise?

    <?php
    	$terms = get_categories( array(
    	  'orderby' => 'name',
    	  'parent'  => 0
    		 ) );
    
    	echo '';
    ?>
    in reply to: Outputting parents category #27450
    palmtree
    Participant
    in reply to: Outputting parents category #27428
    palmtree
    Participant

    http://pasted.co/a2169175

    The code is slightly modified and now I can see “lollipop” (parent cat name and url pointing that parent cat). But for other post which doesn’t have parent category lost category output.

    For example when the post “I like sweet things” belongs to “gummy” that has no parent, there will be no cat name output (neither gummy nor its url pointing to gummy). As a result inside <span class=”category”> becomes empty.

    I think this code above only works for the post that belongs to category which has parent.

    [Summary]
    *With the very first code http://pasted.co/b5f13504 works fine only for the post belongs to category which doesn’t have parent.

    *With the second code http://pasted.co/a2169175 works fine only for the post belongs to the category which has parent.

    I need to somehow combine those two…

    in reply to: Post Snippets Carousel Pagination #27250
    palmtree
    Participant

    After updating the version to 4.8.1, the problem has gone. Very strange…
    Anyway, thanks for your kind support!!

    palmtree
    Participant

    Thank you for your support! It worked! Fantastic:DDD

    palmtree
    Participant

    Hi Meteorite,
    Thank you for your response!
    I am very happy that this can be resolved. Now could you kindly tell me which language folder it should be referred to?
    Is it theme language folder or plugin (if plugin, please tell me exact location). For both theme and plugin, I couldn’t find the same name livemesh-so-widget po etc. I thought I should overwrite existing…

    Cheers:D

    in reply to: When no thumbnail in post snippets #27183
    palmtree
    Participant

    cheers! Thank you for this:D

    in reply to: Post Snippets #27070
    palmtree
    Participant

    Thanks for checking this. I will add post I want to display one by one then.

    in reply to: Post Snippets #27049
    palmtree
    Participant

    Hey, I thought I would wait till the site goes online. However when I tried to switch the theme back on the original Invent theme, it does exactly the same. I mean although there are 6 pages as child pages under 1 parents. The above code snippets only output 4 regardless. Could you test that out on your side as well? I want to output all the pages that are of the children of particular page.

    in reply to: Difference in between Gallery and Showcase Slides #27048
    palmtree
    Participant

    Got it:) After reading the documentation, I understood. Thank you.

Viewing 15 posts - 16 through 30 (of 85 total)