All Questions
0
votes
0answers
3 views
new created woocommerce add-on but where to upload it for community
I have create my first woocommerce add-on and want to inform users about this.
Search for it but can not find a place to inform all wordpress and woocommerce users.
Is there a specific place for this ...
0
votes
0answers
7 views
How to prevent queried posts from being added to cache?
I'm learning about caching parameters and tried this in the single.php template:
echo count($wp_object_cache->cache['posts']);
$query = new \WP_Query([
'post_type' => 'post',
'...
0
votes
0answers
9 views
Prevent deleting meta fields
We have a news website where we are storing "live-data" in custom fields. But there are one problem, when a journalist that are not reporting live are going into the backend to update the article ...
0
votes
1answer
8 views
Monarch JS has not been loaded. After changing the $dep parameter, it start being loaded
When use this code does not work
wp_enqueue_script(
'et_monarch-custom-js',
ET_MONARCH_PLUGIN_URI . '/js/custom.js',
array( 'jquery' ),
$this->plugin_version,
true
);
But this ...
0
votes
0answers
13 views
Setup plugin site like http://wordpress.org/plugins [on hold]
I would like to setup my own plugin site same like http://wordpress.org/plugins, I know wordpress is free code so where can I get php code of site http://wordpress.org/plugins
Thanks
0
votes
1answer
11 views
Inherit scripts from parent to childtheme
So i got a parenttheme that enques scripts like this:
function my_scripts() {
wp_deregister_script('jquery');
wp_enqueue_script( 'modernizr', get_stylesheet_directory_uri().'/assets/js/dist/...
0
votes
0answers
11 views
how can i get records from wp_postmeta table using particular meta_key in database?
In plugin development, how to fetch data from database of particular data in dropdown list?
global $wpdb;
$id = 'parent_id';
$data = $wpdb->get_results("SELECT * FROM wp_postmeta WHERE meta_key = $...
0
votes
1answer
12 views
How Can I delete particular part in Homepage?
How Can I delete this part ?
So it would be Like. I want it show only header and menu in my frontpage
Any help would be appreciated
Regards,
Ragil Satrio
0
votes
0answers
5 views
How to remove mixed content warnings in WP Customizer
In a bit of a pickle as I am having this warning message (in the developer's menu of google saying I am trying to connect with google fonts through http even though my site is set up to use https.
...
0
votes
0answers
5 views
Get/Set wp.customize.previewer.previewUrl
I am trying to get/set the current previewURL within the Customizer.
I enqueue the script with the customize_controls_print_styles action:
function my_custom_script() {
wp_enqueue_script( 'my-...
0
votes
0answers
11 views
WooCommerce - Change price of product based on dropdown selection
I'm very close to accomplishing exactly what I'm trying to, but have one issue I can't get passed.
I have a woocommerce site and have added a dropdown to each product page where a customer can select ...
-1
votes
0answers
15 views
Do yo need to add the excerpt in loop for custom page template?
Wanting to use the excerpt for displaying text in a specific place within a custom page template and wanted to ask is it necessary to have to place the excerpt within the loop?
0
votes
0answers
8 views
Unable to log in customized wordpress website. Page just refreshes
I have a log in form in my website like this:
<form name="login-form" id="sidebar-login-form" class="standard-form blanco" action="http://example.com" method="post">
<label><?php ...
0
votes
1answer
15 views
Using the_widget Multiple Times
I'm trying to build a widget to includes another widgets.
I've a select box for widget types. But, it doesn't work correctly.
As you see, I trying to add WC_Widget_Products and ...
0
votes
3answers
24 views
How to display the featured image for each post?
I have used the following code to display the featured image for each post, but nothing is showing:
<div class="thumbnail-img">
<?php
$lastBlog = new WP_Query('type=post&...