WP SITES
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Post Rating] Call The Rating For Each CommentResolved.
Forum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] Add Ratings To CommentsHello Blaz
I worked it out.
Forum: Plugins
In reply to: [WP Customer Reviews] form before contentWhat code did you use for this?
You can use pre_get_posts for that.
Forum: Themes and Templates
In reply to: [Twenty Nineteen] child themeThe 1st parameter for wp_enqueue_style is the $handle or name of the style sheet.
Yes, you can name this the same as the name of your child theme folder.
wp_enqueue_style( 'myfoo-style', $src, $deps, $ver, $media );Thanks Sanjeev.
I did change my Gmail password a few days ago which clearly caused a problem. Fixed now following your solution.
Forum: Plugins
In reply to: [Osom Author Pro] Show books archive as homepageTry template_include with the is_front_page() conditional tag
Thanks @kokkieh It works now. Not sure what happened but it reappeared after i published the post. Wasn’t there on draft even though i saved the draft several times.
Cheers.
Thanks Sanjeev
Forum: Plugins
In reply to: [WooCommerce] Product categories order not working after updateChanges the shortcode parameters for products. https://docs.woocommerce.com/document/woocommerce-shortcodes/
You’ll need to modify the code according to the values you want to use.
Note : WooCommerce are unable to provide support for customizations under their Support Policy.
Forum: Plugins
In reply to: [WooCommerce] Product categories order not working after updateHere’s the changes you’ll find inside 2.4.6 relating to menu_order
if ( ! function_exists( 'storefront_product_categories' ) ) { function storefront_product_categories( $args ) { $args = apply_filters( 'storefront_product_categories_args', array( 'limit' => 3, 'columns' => 3, 'child_categories' => 0, 'orderby' => 'menu_order', 'title' => __( 'Shop by Category', 'storefront' ), ) ); /** * Homepage blocks content. * * @since 2.5.0 * @return string $content Homepage content. */ private function _homepage_blocks_content() { $content = ' {{cover}} <!-- wp:heading {"align":"center"} --> <h2 style="text-align:center">' . __( 'Shop by Category', 'storefront' ) . '</h2> <!-- /wp:heading --> <!-- wp:shortcode --> [product_categories limit="3" columns="3" orderby="menu_order"] <!-- /wp:shortcode -->Forum: Plugins
In reply to: [Gutenberg] How To Enable Gutenberg Syntax Highlighter?Excellent!
Forum: Plugins
In reply to: [Gutenberg] How To Enable Gutenberg Syntax Highlighter?Thanks.
Forum: Plugins
In reply to: [Gutenberg] How To Enable Gutenberg Syntax Highlighter?I must have misunderstood this https://www.getgutenberg.io/documentation/content/syntax-highlighting/
Forum: Plugins
In reply to: [Gutenberg] How To Enable Gutenberg Syntax Highlighter?Basically, i wrapped the PHP code in these HTML tags and want it to display the same as the code i linked to on ww.wp.xz.cn
<pre class="language-php"><code class="language-php">I assumed Gutenberg has a built in highlighter for code which needs enabling. Maybe i’m wrong.