All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

blur iframe in chrome

I am changing some css in genesis sample theme as I like. But iframe (adsense in amp) is blur in google chrome. how to solve this? firefox has no issue. https://sangams.com.np/
0
votes
0answers
5 views

Customizing a new page used for blog posts with Avada theme

I'm using the avada theme for my website and I created a page called 'My Blog' and in reading settings I set this to display recent posts. It works, but when I created the page I selected a custom ...
0
votes
0answers
3 views

Peepso: Add extra data field (custom post meta) to postbox

I know that this can be edited in the Peepso core, but I want to be able to update the plugin. I think I found a filter I can use to edit the postbox and allow another field. The form is for the ...
0
votes
0answers
11 views

Function to add <noscript> directly below each <img> that appears in the_content() - Lazy loading images

I'm implementing a lazy loading solution to a Wordpress theme I'm currently working on using bLazy.js (https://github.com/dinbror/blazy). I am have some code in my functions.php which is successfully ...
0
votes
1answer
12 views

Can I use JavaScript libraries in WordPress theme development?

I am designing a theme(template) for Wordpress and after that, I want to sell that in online markets. Can I use any JavaScript library or plugin with MIT license on my theme/template?
0
votes
0answers
6 views

User does not exist after creating

After i add a new user, i am unable to login and get user does not exist. I have disable all plugins including Amelia which was recently installed. Please assist.
-1
votes
0answers
7 views

WooCommerce Coupon to change the product price to specific ammount [on hold]

I am looking for custom code or any plugin for a coupon which will reduce the product price to any specific amount. Ex. Coupon (say Coupan1) will change the price of some selected products to 1$. ...
0
votes
0answers
10 views

Can´t update BDD in time

Mi expertise with WP coding is basic, almost reach intermediate level. I know there must be a way to achieve this. I am using 2 loops one inside the other, to find matching values and save in DB. ...
0
votes
2answers
12 views

How to use get_the_title with text on the 'alt' of the_thumbnail array?

I'm currently using <?php the_post_thumbnail('250px', array('class'=>"review-siteshot", 'alt' => get_the_title() )); ?> I know that 'alt' => "review" will output review as all text. I'...
0
votes
1answer
8 views

Remove post content in RSS feed?

I want to remove the post content that is displayed in the RSS feed. How can I do this? I just only want it to show a list of post titles and not the content
0
votes
0answers
8 views

How can I send and email to a user when a post in their category changes

I am trying to send an email to my students when I create a new exercise for them. I create a category that has the same name as the user [student]. Then when I create a new exercise/assignment I ...
0
votes
0answers
8 views

Dynamically display sub-categories on primary menu without adding them

Title says it all i guess. All i need is not having to go on menu and add a sub-cat everytime i create a new one. also, is it possible to order them alphabetically?
-1
votes
0answers
12 views

Custom post type shortcode [duplicate]

I create a custom post type (features) in my theme with the help of advanced custom field plugins. I want to know how i can create a shortcodes of my custom post type. so that i just used a shortcode ...
0
votes
0answers
8 views

Gravity forms products integration

Just need your help on working with gravity forms. I have set up a form which I have then connected to a product. However, it still allows you to check out without completing the form- how can I stop ...
0
votes
1answer
7 views

WordPress Fatal error: Uncaught Error: Call to undefined function dbDelta()

On plugin activation hook I want to create a table but the following code is giving Uncaught Error. I just wonder why it is not giving this error since I am properly including update.php. global $...
0
votes
0answers
8 views

How to replace wp_ajax_add_tag() error notice on create_term?

I am writing a plugin which uses natural language processing and knowledge graph technology to determine the true entity type of terms added to WordPress, with the purpose of tidying up taxonomies. ...
0
votes
1answer
23 views

Custom Post type shortcodes

I create a custom post type (features) in my theme with Advanced Custom Field. I want to know how i can create a shortcodes of my custom post type. so that i just used a shortcode of that custom post ...
0
votes
1answer
11 views

How to auto empty comment trash after X days

I know how to programmatically delete comments that are X days old but they then go to the trash. How do I empty the comment trash every X days? function ...
0
votes
0answers
8 views

Does it make sense to check a nonce on user log in?

I read the following blog post about implementing custom user log in: http://natko.com/wordpress-ajax-login-without-a-plugin-the-right-way/ In the post, the author walks through some PHP code for ...
0
votes
0answers
6 views

Capture form data in one function and use it in another function (same file)

I'm trying to figure out how to capture data from a form that exists inside a function, and then use it inside another php function. Here's the setup for my .php file: function setPrice( ) { I want ...
0
votes
0answers
10 views

How to add equations to a table in WordPress

I need to add equations in responsive table in Wordpress, something like these figures: Using the table provided in the text editor is not ideal because on mobile screens equations or figures look ...
0
votes
1answer
11 views

How to get a list of all the years that have posts

All I want is an array of years that posts exist from first to last but for some reason I'm only getting the first two years, 2019 and 2018, when I have posts going back to 2016. Here's my code: &...
0
votes
1answer
6 views

How can I get custom post types to recognize pretty permalink variables?

I'm using PODS to create a custom post type called "automobile" on my site. This results in a permalink structure that looks like this: /automobile/automobile-page I want to be able to send ...
0
votes
1answer
7 views

How to noindex, follow a specific category wordpress?

Google appears to be ignoring my robots.txt (despite being valid) How do I noindex, follow a specific category without plugins?
-1
votes
0answers
9 views

CSS Code Requests [on hold]

I am trying to make a custom Referral form page for my wordpress Website. I'm trying to use some CSS code to do this as I have found the drag and drop plugins to be unhelpful. I have very little (...
0
votes
1answer
7 views

Slider Revolution - Uncaught ReferenceError: setREVStartSize is not defined

I am working on WordPress 5.2.2 running php 5.6.30. I was using slider revolution 5.4.8 previously which was being displayed via the shortcode however the Animations were not working I did try several ...
0
votes
2answers
8 views

Assistance with wp_title function

I have this command that I'm using. I want it to use the template formating for the title but I can't figure out how to add it. I found this code online to strip everything and I added <?php ...
0
votes
1answer
15 views

How to customize file path for 404 redirection in php?

I made a plugin with a custom post type postcard. Most of postcards are private. I would like to redirect the logged out user in a specific php file inside my plugin instead of the 404.php or achive....
0
votes
0answers
14 views

How to include React libs in a Wordpress Plugin?

Whilst currently working on a wordpress plugin I’ve stumbled upon some minor issues. In my plugin project I am including the minified version of the React & React.dom.production. Wordpress ...
0
votes
0answers
10 views

Get Custom Attribute Image in woocommerce [on hold]

I have created custom attribute in woocommerce attribute named "Brand" with "Image" type. $prodx = $product->get_attribute( 'brand' ); using the above code i m able to display the brand ...
0
votes
0answers
9 views

Updating Elementor template does not update pages? [on hold]

I'm trying elementor for the first time. I created an elementor template that had a 5 column sections. I then made 20 pages that used this template. A few days later, I went into the elementor ...
0
votes
1answer
12 views

Use action, filter, or hook to append HTML to WordPress plugin function

I am new to WordPress actions, filters, and hooks, and am wondering if it is possible to use one of the three to append some HTML to a defined plugin function using the theme's functions.php file. The ...
0
votes
0answers
5 views

Displaying list of users who 'like' products in Woocommerce [on hold]

I would really like to know if there is a plugin for Wordpress/Woocommerce, or anyone has any idea how to achieve the functionality on curation sites such as: https://canopy.co/ https://iwantdis.com/ ...
0
votes
0answers
16 views

How to create a collapsible side menu using a walker?

I'm using wp_list_pages($args) to create a side navigation. I need to make the menu collapsible on mobile. Using a custom walker, 'walker' => new sidebar_walker(), within the $args and then class ...
0
votes
0answers
9 views

Order by meta_key field in Wordpress not meta_value field value

I have a requirement where I need to show all posts having thumbnail first and ordered by title and then remaining posts ordered by title Below is the code I tried $the_page = (get_query_var('paged'...
0
votes
1answer
16 views

Change which image size Wordpress uses in “src” so full size image is not being loaded

I have a custom Wordpress theme that I am currently working on, when an image is inserted into a blog post the following code is being generated: <img src=“image.jpg" alt="This is the ...
0
votes
0answers
13 views

Remove nofollow from specific internal links

I got all my website with a lot of internal cloaked links with a nofollow attribute. I need a function or filter to add inside functions.php that removes the nofollow attribute when the permalink ...
0
votes
0answers
12 views

Image from URL Wordpress Plugin

I'd like to know if there is an existing plugin in Wordpress that can do the following - Allows to upload multiple images from URLs - Has the feature to create a gallery/slider/carousel out of the URL ...
0
votes
0answers
6 views

WP Multisite after login in network when try to open subdoamin it again ask login

I have a multisite with latest WP version 5.2 The problem is, When I was login in network and than try to open sub domain site, it can again ask for login. I have try define( 'COOKIE_DOMAIN', '' ); ...
0
votes
1answer
12 views

What is the purpose of WP_CONTENT_URL?

While trying to move the wp-content to new folder, there is constant called WP_CONTENT_URL. Why do we need this one? Does WP_CONTENT_DIR and WP_CONTENT_URL needs to be same? Bcoz there are several ...
1
vote
1answer
18 views

Register vendor JS/CSS only on pages that require them?

I have some JS \ CSS that is used within selected pages on my site for various UI functions, for example an image slider. This image slider is only used on a few pages inside the site and loading it ...
0
votes
0answers
11 views

Blog previews on custom page with more buttons

I currently have a page on my websites called blog where I'm directing blog posts to be previewed, however, I'm trying to achieve a centered preview with a 'more' button like this: Is there a ...
0
votes
1answer
13 views

Simple way to hide\show an announcement (just a div) on homepage?

In wordpress, in a particular page that is used as the homepage i have a section of HTML used for an announcement. I am wanting to enable someone to easily customize this section from the dashboard, ...
0
votes
0answers
9 views

wordpress peoblem [duplicate]

mega_menu_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in C:\xampp\htdocs\salmanwp\...
0
votes
1answer
8 views

Limiting Wordpress Search function : Custom build

The website I am busy working on was built by another company that no longer supports Wordpress so I am looking for help. Below is the PHP for the search function. From the research Ive done it seems ...
0
votes
0answers
9 views

Custom post type taxonomy is broken, links don't work, but I'm concerned about breaking the data

There's a custom post type which has been set up on a site I'm working on using register_post_type and which has the taxonomy included in this, rather than separately/additionally using ...
0
votes
0answers
11 views

How Would I add WooCommerce Brands plugin to filter with Woo search filter plugin? [on hold]

How Would I add WooCommerce Brands plugin to filter with Woo search filter plugin? Trying to get the brands to be a multiple filtered option but so far all I’ve figured out is the short code to get it ...
0
votes
0answers
9 views

my sidebar is not showing [on hold]

my website is showing an extra footer below my content and not showing the correct sidebar which should appear at the side of my content. I have checked my coding and to see if there's a div missing ...
0
votes
1answer
18 views

Menu setting responsive [on hold]

I need help in the menu setting. my menu is not responsive. please help me out. This is my website URL. https://oakbusinessconsultant.com please check tablet and mobile view is not proper. than you
0
votes
2answers
18 views

How can i make wordpress blog title clickable and direct to the post itself

How can i make wordpress blog event titles clickable and direct to their respective post itself? Thank you! <li id="post-<?php the_ID(); ?>" <?php post_class( 'stm_post_info' ); ?>> ...

15 30 50 per page