pavlito
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] URL structure not goodThank you for the response.
Sorry if my question was confusing. Let me try to clarify a bit
With custom post type I am trying to create posts that act as parent and children posts
Explore the guide – archive
– Parent post
— Children post
-Parent Post
— Children Post
— Children postThe current problem is URL structure from the address bar. It is not matching the structure of the breadcrumbs.
Breadcrumbs structure so far is good it is
domain.com/explore-the-guide/chapter-title/subchapter-title
This structure of page/posts should be presented in url address bar.Nothing custom is done.
Here is the screenshot from the setting maybe I did not set up right?
Forum: Plugins
In reply to: [Custom Post Type UI] Not updating textForum: Plugins
In reply to: [Custom Post Type UI] Not updating textYep. But Another problem comes in….
I have register new sidebar and create new widget in order to display list of custom posts.
The widget displays only 10 posts (i have 17), and I did not set any limitation in wp_query…Help?
class AllVideosWidget extends WP_Widget { function __construct() { // Instantiate the parent object parent::__construct( false, 'All Videos Widget' ); } // Widget output $args = array( 'post_type' => 'video', 'post_status' => 'publish', 'category_name' => $a['category_name'] ); $query = new WP_Query($args); if ($query->have_posts()) { $string = ''; $counter = 0; $video_list = array ( 'video_title' => '', 'video_description' => '', 'video_url' => '' ); while ($query->have_posts()) { $query->the_post(); $video_title = get_field('video_title'); $video_description = get_field('video_description'); $video_url = get_field('video_url'); str_replace("watch?v=", "embed/", $video_url); $video_list["video_title"][] = $video_title; $video_list["video_description"][] = $video_description; $video_list["video_url"][] = $video_url; $counter++; }// end while } // end if have post wp_reset_postdata(); $html = "<div class='widget widget_box_slide'>"; $html.='<h4 class="widget-title">All videos</h4>'; $html.='<div class="textwidget"><p>'; for ($i=0; $i < $counter ; $i++) { $html.= "<a href=" . $video_list["video_url"][$i] .">" . $video_list["video_title"][$i] . "</a><br>"; } $html.='</p></div>'; $html.= "</div>"; echo $html; } function update( $new_instance, $old_instance ) { // Save widget options } function form( $instance ) { // Output admin widget options form } }
Forum: Plugins
In reply to: [Custom Post Type UI] Not updating textHi @michael , sry for delayed reply.
Yes the problem is solved. It is stupid mistake done by my colleague. He added 2 same post but with different categories. I was trying to change 1 post, and whatever I change output remains the same (apparently it was second post). Then i spend 2 hours on modifying my custom query ??
Forum: Plugins
In reply to: [WooCommerce] Add extra weight on orderHi Caleb, thank you on fast response.
I use woocommerce plugin, and some plugin to display weight on cart. Also I set products weight.
Shipping company packs products in packages which have some weight also.
Is there any way to automaticaly add package weight on cart?
Hi Dave,
Yes, i have suggestion. Maybe we can discuss via skype this week?
Forum: Plugins
In reply to: [Contact Form 7] Change existing form languageAny advice?
I have 4 contact form. Maybe to edit po files?
Forum: Plugins
In reply to: [Transposh WordPress Translation] Revolution slider – slides translationYes, Just create new slider in admin area (admin > revolution > add new slider).
Forum: Plugins
In reply to: [Contact Form 7] Adding class to input – not showing in htmlElement sequence order is important. Great. Thnx.
Forum: Reviews
In reply to: [qTranslate X] Missing serbian flag and languageHi John, you are right. sry for 1 start. I will remove rating. How to edit?
Forum: Plugins
In reply to: [WooCommerce] Add to cart – Recent products shortcode on front pageYes. It works.
The link tag is generated with classadded_to_cart wc-forward
.Do you have advice what to do?
Forum: Themes and Templates
In reply to: X Theme – Shortcode and Code for the Ethos Demo SiteYou can import demo content from their support website.
It is covered with good tutorials and docs.