Tag: wordpress

51 votes
7 answers
1.4K views
.htaccess, YSlow, and "Use cookie-free domains"

One of YSlow's measurables is to use cookie-free domains to serve static files. "When the browser req

avatar
Corrin
0 1 0 9
asked 07 September, 2021
52 votes
3 answers
1.2K views
Is Plone doing enough to keep up with other CMSes?

I do Drupal for a living and I like the system. However I've always been intrigued by Plone and wanted to

avatar
Corey
0 1 0 9
asked 07 September, 2021
60 votes
13 answers
2.7K views
wp_nav_menu change sub-menu class name?

Is there a way to change the child <ul class="sub-menu"> generated by WordPress itself to a custom class

avatar
Margo
0 1 0 9
asked 07 September, 2021
51 votes
16 answers
1.9K views
Wordpress keeps redirecting to install-php after migration

Here's my situation. I have followed the exact instructions on wordpress codex page about moving a site t

avatar
Daniel
0 1 0 9
asked 07 September, 2021
55 votes
4 answers
1K views
WordPress get user by meta data

How can I retrieve all users registered in my WordPress blog having a particular meta data? For example I hav

avatar
Hilario
0 1 0 9
asked 07 September, 2021
54 votes
4 answers
2.7K views
WooCommerce: Finding the products in database

I'm creating a website using WooCommerce and I want to restrict the available products to users depending

avatar
Scot
0 1 0 9
asked 07 September, 2021
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
59 votes
14 answers
1.4K views
Retrieve WordPress root directory path?

How can I retrieve the path to the root directory in WordPress CMS?

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
66 votes
5 answers
2.4K 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
49 votes
4 answers
1.7K views
Where is the post featured image link stored in the WordPress database?

Where is the featured image link stored in the WordPress Database? I searched in the wp_postmeta table but I

avatar
Clarice
0 1 0 9
asked 07 September, 2021
53 votes
9 answers
3.1K views
How to pass extra variables in URL with WordPress

I am having trouble trying to pass an extra variable in the url to my WordPress installation. For example /n

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
57 votes
5 answers
465 views
Column count doesn&apos;t match value count at row 1

So I read the other posts but this question is unique. So this SQL dump file has this as the last entry. INSE

avatar
Keith
0 1 0 9
asked 07 September, 2021
55 votes
11 answers
1.7K views
WordPress Get the Page ID outside the loop

I want to get the page ID before starting the loop in WordPress. I am using $page = get_query_var('page

avatar
Louetta
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
654 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
806 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
311 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
53 votes
1 answers
534 views
Strange iframe added into body tags called `rufous-sandbox`

I'm working on a local WordPress site, and for some reason there is an iframe added just after the openin

avatar
Rudy
0 1 0 9
asked 07 September, 2021
58 votes
4 answers
1.5K views
WordPress query single post by slug

For the moment when I want to show a single post without using a loop I use this: <?php $post_id = 54; $qu

avatar
Kisha
0 1 0 9
asked 07 September, 2021