Tag: c

60 votes
8 answers
2.3K views
Local wordpress install only shows home page, all other pages Not Found

I am working on a local install of a live wordpress site, all links from the main page show Not Found errors.

avatar
Trudy
0 1 0 9
asked 07 September, 2021
66 votes
5 answers
2.5K views
How to Use AJAX in a WordPress Shortcode?

I have a code to display a random quote. One person wrote a function to implement all of this. But the update

avatar
Majorie
0 1 0 9
asked 07 September, 2021
56 votes
6 answers
2.6K views
How to include WordPress functions in custom .php file?

How can I include WordPress functions in a custom .php file? In detail: I have a directory under my theme (Co

avatar
Vi
0 1 0 9
asked 07 September, 2021
45 votes
11 answers
1.5K views
Get current category ID of the active page

Looking to pull the category ID of a specific page in WordPress that is listing all posts using that specific

avatar
Joseph
0 1 0 9
asked 07 September, 2021
55 votes
17 answers
685 views
Use .htaccess to redirect HTTP to HTTPs

Please, don't recommend me the long and very detailed thread with more than 173 upvotes. It didn't w

avatar
Venice
0 1 0 9
asked 07 September, 2021
51 votes
9 answers
826 views
Get custom product attributes in Woocommerce

In Woocommerce, I am trying to get product custom attribute values but I fail miserably and I don't get a

avatar
Shantay
0 1 0 9
asked 07 September, 2021
62 votes
10 answers
338 views
How To Include CSS and jQuery in my WordPress plugin?

How To Include CSS and jQuery in my WordPress plugin ?

avatar
Robyn
0 1 0 9
asked 07 September, 2021
55 votes
4 answers
645 views
What are the WordPress alternatives for Ruby on Rails?

What are the WordPress alternatives for Ruby on Rails? How do they compare to WordPress?    

avatar
Wilber
0 1 0 9
asked 07 September, 2021
51 votes
3 answers
2.5K views
JointsWP4 (SASS): Changing Properties in Sticky

TL;DR: Is Sticky actually able to react to changes I give through JavaScript? If so, how? (The project is usi

avatar
Fabian
0 1 0 9
asked 07 September, 2021
54 votes
5 answers
1.6K views
How to get WooCommerce order details

In WooCommerce from the following line code: $order = new WC_Order( $order_id ); How can I get WooCommerce

avatar
Joseph
0 1 0 9
asked 07 September, 2021
58 votes
6 answers
2.3K views
How to get last inserted row ID from WordPress database?

My WordPress plugin has a table with a AUTO_INCREMENT primary key field called ID. When a new row is inserted

avatar
Eddie
0 1 0 9
asked 07 September, 2021
56 votes
26 answers
1.7K views
What's the net::ERR_HTTP2_PROTOCOL_ERROR about?

I'm currently working on a website, which triggers a net::ERR_HTTP2_PROTOCOL_ERROR 200 error on Google Ch

avatar
Boyd
0 1 0 9
asked 07 September, 2021
54 votes
9 answers
1.8K views
Turn off deprecated errors in PHP 5.3

My server is running PHP 5.3 and my WordPress install is spitting these errors out on me, causing my session_s

avatar
Brianne
0 1 0 9
asked 07 September, 2021
61 votes
4 answers
1.3K views
What does apply_filters(...) actually do in WordPress?

I'm trying to understand some of the function in WordPress, but I can't get my head around what appl

avatar
Basil
0 1 0 9
asked 07 September, 2021
57 votes
4 answers
847 views
Best place to insert the Google Analytics code

Where’s the best place to insert the Google Analytics code in WordPress, header or footer? I prefer

avatar
Arline
0 1 0 9
asked 07 September, 2021
61 votes
27 answers
3.1K views
Nginx serves .php files as downloads, instead of executing them

I am installing a website in a droplet (Digital Ocean). I have a issue for install NGINX with PHP properly. I

avatar
Corrin
0 1 0 9
asked 07 September, 2021
61 votes
14 answers
2.9K views
#1273 - Unknown collation: 'utf8mb4_unicode_ci' cPanel

I have a WordPress database on my local machine that I want to transfer to a hosted phpMyAdmin on cPanel. Howe

avatar
Nidia
0 1 0 9
asked 07 September, 2021
49 votes
15 answers
2.2K views
#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’

I have a WordPress website on my local WAMP server. But when I upload its database to live server, I get error

avatar
Sachiko
0 1 0 9
asked 07 September, 2021
59 votes
16 answers
1.9K views
TypeError: $ is not a function when calling jQuery function

I have a simple jQuery script in a WordPress plugin that is using a jQuery wrapper like this: $(document).rea

avatar
Hallie
0 1 0 9
asked 07 September, 2021
54 votes
12 answers
2.9K views
upstream sent too big header while reading response header from upstream

I am getting these kind of errors: 2014/05/24 11:49:06 [error] 8376#0: *54031 upstream sent too big header

avatar
Kristopher
0 1 0 9
asked 07 September, 2021