All Questions

0
votes
1answer
12 views

Can I use a wpdb object to connect to a non-Wordpress Oracle database

I simply have a quick question. I've found information related to this, but I'm not completely sure if this is possible. I know that I can create a second database connection using the wpdb object as ...
0
votes
0answers
6 views

Message Uncaught Error: Call to a member function is_taxonomy() [on hold]

I am getting the following error message Line 78 Message Uncaught Error: Call to a member function is_taxonomy() on string in /home/kevinh96/public_html/wp-content/plugins/jc-woocommerce-advanced-...
0
votes
1answer
12 views

Yoast makes comment_reply_link function output plain link to comment instead of reply link

EDITED - I discovered that my problem only arises when the Yoast plugin is active. But I want to keep Yoast active, so my updated question is: Any idea what to do for comment replies working while ...
0
votes
1answer
15 views

How to integrate custom HTML template in a premium wordpress theme?

I have installed a premium wordpress theme in the server. But I just want to use my own html and css in the page template. There will be a new header, footer and menu. Is there any way to do that ...
0
votes
1answer
13 views

Delete a custom field in mysql for all posts with specific category id

Delete a custom field in mysql for all posts with specific category id I am trying to delete all custom fields with the key 'key1' from posts that are in category id '66'. I can delete all custom ...
0
votes
1answer
5 views

How can I add certain pages (not posts) to my sites RSS feed?

How can I add specific pages content to my sites RSS feed? As of right now the RSS feed automatically displays all of the sites posts content, but I want to add the RSS functionality to certain pages ...
0
votes
0answers
12 views

Create post using rest api with html content

I'm trying to create a wordpress post with html code in content for images but I have a problem. For example my content looks like: <p><img src="https://avatars3.githubusercontent.com/u/1?s=...
-1
votes
0answers
11 views

SQL: how can do UPDATE on a SELECT query?

how can I do I UPDATE wp_posts SET post_status = 'draft' on this query below: select bad_rows.ID, bad_rows.post_title, post_type, meta_value from wp_posts as bad_rows ...
0
votes
1answer
7 views

Admin account only shows Profile and Dashboard with no activity

I received login credentials from the person that maintains my company's website. When I login, there is virtually no information on it. I can only access the dashboard which has no activity on it. ...
0
votes
1answer
21 views

Homepage Menu Link Won't Function

I am fairly new to Wordpress. I have been setting up sites using a template in a multisite installation. On the home page, one of the links "Twin Tiers Saves" is unresponsive but it shows in the ...
0
votes
1answer
21 views

Wordpress CSS/Theme gone after SSL got activated

I can just see the skeleton of my site. I cleared the cache on cloudflare, what else can i do? Even domain.com/wp-admin login screen is messed up, which means it probably has something to do with ...
0
votes
1answer
15 views

301 Redirect Link to Media

I sent an email to some folks today with a link to a word document hosted on wordpress. The URL in the email is something like: www.mycompany.com/media/2018/06/somedocument.docx Unfortunately, ...
0
votes
1answer
33 views

WordPress AJAX return 0 - My case

My problem is the same as in other cases, but my code is fine, I compared with another and followed all the instructions and good practices, but it does not work. Here my code: jQuery("#genera-pdf")....
0
votes
0answers
10 views

Wordpress plugin to share / feature external news content [on hold]

I am looking for a plugin that will allow me to feature and rotate external news content. My goal is to have 4 main links/images - and each of those would be a specific article that i can load into ...
0
votes
3answers
34 views

Moving wordpress site from HTTP to HTTPS ERR_TOO_MANY_REDIRECTS

I want to moving my site followourtrack.fr from http to https but i have the message ERR_TOO_MANY_REDIRECTS wp-config.php : define('WP_HOME','https://www.followourtrack.fr/'); define('WP_SITEURL','...
0
votes
1answer
18 views

SQL query: select duplicate posts - but using duplicate meta [duplicate]

how can I select the duplicate freelancer.com posts? post_id meta_key meta_value -------- ------------------- ---------------------------------------- 1 ...
0
votes
1answer
30 views

How to create custom dynamic url

I want to create my own url like this http://localhost/wptest/content/programs/trainings-conferences/ I have create my own plugin and use this code. add_action('init','wpyog_add_rewrite_rules'); ...
0
votes
2answers
54 views

It is possible to add custom media size in admin media edit?

Hi! It is possible without plugin to add ability edit custom thumbnail image size and apply changes to it?
1
vote
1answer
31 views

Creating an endpoint in wordpress

I'm writing a plugin that will allow some of my installs to talk to each other and share specific information. I wish to specify an endpoint such that example.com/path/here is where the other site can ...
1
vote
1answer
21 views

RSS feed for a given user's post?

I know how to get the site's RSS feed - that get_bloginfo('rss2_url') but is there a way to get the same thing but only for a given user? Effectively the RSS feed of the posts listed on the author's ...
0
votes
0answers
15 views

Set featured image using javascript in post editor

I have built a plugin that will auto-generate an image based on some variables in the post the user is writing. They have the ability then to set some colors and stuff to make the image look nice. ...
0
votes
1answer
21 views

Get all the blog's categories and the related URLs?

I'm confused as to how to fetch the list of all the blog's categories (sans empty ones). I need the textual name and the URL to the cat archive as an array. Do I use get_terms(), get_categories(), ...
1
vote
3answers
36 views

List of the years with posts presented

I need to get a list of the years with posts of given category. Like this: 2008, 2009, 2010, 2012, 2013 (if there were no posts in 2011, it's not included). I try this query, and it works — I get my ...
0
votes
2answers
23 views

Would it be ok if i had only 1 main woocommerce category?

Would it be fine if i had 1 main product category in woocommerce with lots of child categories? I'm talking about thousands products in this 1 main category with many subcategories. Is this alright, ...
1
vote
2answers
24 views

How can I free up the memory used by update_post_meta?

I've noticed that each call to update_post_meta results in a small increase in my memory usage. Normally, the increase is small enough to not matter. But I'm writing a CSV import function that calls ...
1
vote
1answer
55 views

Is it better to put CSS in additional CSS or in Child theme styles.css

By better i guess i mean which works faster when rendering the page. I understand that the additional css editor stores the changes in the database. Does that make it quicker or slower than using ...
1
vote
0answers
26 views

Open Graph Object Debugger & url parameters - Page Not Found result

I am using a template on a page via a shortcode and using a URL parameter to indicate what data should be displayed. It displays perfectly on the site, BUT when you pass the page URL to the Facebook ...
1
vote
0answers
22 views

Control Content On Non-Blog Pages

I'm new to WordPress, trying to learn it's capabilities. My Goal My goal is to make a normal website but have it's content (text and images) be adjustable by the user / client, managed content. An ...
2
votes
4answers
76 views

Getting the wrong page ID

I am developing a theme and I need to get the actual page ID, when I do: global $post; $thePostID = $post->ID; I get the wrong ID. I tried get_the_ID() and I get the same ID that in the code ...
1
vote
0answers
23 views

(Woocommerce) How to add a custom page between cart and checkout with a file upload field per product item in the cart?

I am using Woocommerce. I want to add a custom page in between the cart and checkout page. In this custom page, I want to show a file upload field per product item in the cart. This has to tie into ...
1
vote
0answers
15 views

How to make a XML/PHP file returning custom field data from page

I want to make a make a Ajax search bar that uses an XML file that will be made from the acf of the users profile page that gets return from the PHP template. How do I go about creating an XML file ...
1
vote
1answer
18 views

creating custom rewrite rules for admin pages

How would I setup a custom rewrite rule to redirect /wp-admin/(page-slug).php to /wp-admin/admin.php?page=(page-slug)
0
votes
0answers
12 views

How to get the list of WooCommerce schedule sale products?

I want to get all schedule sale products and show them as a list of schedule products? I found this one helpful but its not working now. how to display only scheduled sale products
0
votes
0answers
31 views

Customize Password Protected Page input label only

On the password protected page form, is it possible to customize just the password input label? For example; I dont want the text: Password: I just want to change that text to something else like: ...
0
votes
1answer
27 views

Using AJAX to submit and return data inside the WordPress Plugin Boiler Plate framework

I am using the WordPress Plugin Boilerplate to show a form to the user via shortcode. I am just a little confused of the flow of data not so much the syntax to do it. My Main Public Class has a ...
0
votes
1answer
12 views

Page is loading after submit before the file is processed

I have built a user import page that imports via csv file upload. The issue I am having is that the page is loading before all of the rows (user information) is finished processing/ inserting users. ...
0
votes
0answers
21 views

Loading /wp-content/uploads/site as /site/

I love websites so much that I want to put a website into another website. I have a static site under /wp-content/uploads/site. It has a lot of pages and I can access it without an issue in https://[...
0
votes
1answer
45 views

WooCommerce: The model of e-mail is displaying only the html, not css

I'm using the version 3.4.7 of WooCommerce and configuring the e-mails, I stare with a strange thing: the templates didn't appear the css. I experienced this in all of my sites, this is a test site ...
1
vote
1answer
22 views

Preload external PHP information

I have pricing that I load from my billing system whmcs to my WordPress website using PHP. I wanted to know if there is a way I can preload it for it to load nicely or cache only that page or ...
0
votes
1answer
31 views

Disable new Site Health screen safely?

With WP 5.2 now shipping with the "Site Health" page, I'd like to be able to disable this feature -- it shows way too much about the server info. To remove it from the menu I'm using: function ...
0
votes
1answer
11 views

Make a custom block like default paragraph block, so that Enter starts a new block

I have been trying to make a custom block that will behave like the default paragraph and headings blocks, so that when Enter is pressed a new paragraph block is started. Whatever I try, a tag ...
0
votes
0answers
5 views

Suspect incomplete .pot file - what to do?

I'm trying to translate the "Organize Series"-plugin. I have already translated all 166 sentences in the .pot file located in the lang folder of the plugin, however it looks incomplete. Many ...
-1
votes
2answers
26 views

How to include a custom thumbnail with my WordPress plugin?

I am developing a WordPress plugin and I would like to show a custom logo/thumbnail on the "WordPress Updates" screen like other plugins do. What do I need to do to get this to happen? Right now it ...
-1
votes
0answers
21 views

can't change wordpress theme twentyseventeenchild edit file [on hold]

I twentyseventeenchild theme editing file via cpanel it shows http error 403. and i change via wp-admin it shows Something went wrong. Your change may not have been saved. Please try again. There is ...
0
votes
0answers
9 views

Admin user backend in english, frontend in site default [duplicate]

I'm trying to have: Site default language: spanish. Admin user language: spanish. So when I visit the website with my admin user I see all the strings translated in spanish. Admin user backend ...
-1
votes
0answers
14 views

Elementor Side Panel Doesn't Work with multipurpose magazine theme

I have installed Multipurpose magazine theme and use elementor and elementor pro plugin to edit the page but when I click on edit page with elementor I get the left panel of elementor elements got ...
0
votes
1answer
15 views

How to skip the creation of landscape thumbnails for an original portrait image

Let's have some thumbnail sizes like that: add_image_size('home-slide-medium', 1000, 504, true); add_image_size('home-slide-sm', 500, 252, true); add_image_size('video-poster', 780, 512);...
0
votes
0answers
13 views

Closing Comments conditionally in comments.php

I have a website running shapely as my theme, and I am trying to allow only logged in members to see comments on a post, and restrict anyone but administrators from commenting. I would like comments ...
0
votes
1answer
13 views

WordPress Multsite Network site under another network site

Is it possible to have a multisite under another one? networksite.com/site1/site2/ I know that you cannot just type in an additional sub-directory when creating a new site in the network. For ...
0
votes
1answer
13 views

Create new Taxonomy, add extra fields, register terms AND extra fields values?

I need to create a new Taxonomy (nbateam), add extra fields to this taxonomy ('code', 'color', ...) AND register them when the plugin initiate. For now I'm able to do everything except register ...

15 30 50 per page