0
votes
0answers
2 views

Category specific attribute

I wonder what is the best way to define specific attribute for category. My idea is following. I have some categories that are just wrappers, they don't contain any post so they are only parent ...
0
votes
0answers
3 views

Text field wont accept/save iframe

I'm editing one theme (using job manager), per friend's wish, and i added a new text field and function which outputs the same. If i enter just text the same appears but i needs this to be done so ...
0
votes
0answers
3 views

How to change email notification for Comments

How do you change the user that gets the notification email announcement for new comments and comment moderation? WordPress sends the notices to the Admin user. My client is the editor of the site. I ...
0
votes
0answers
5 views

Show featured image on hover

Hi I'm trying to accomplish showing my featured thumbnail on hover. Here is a photo example. The photo on the left is the featured image for the first post on the right. I want first post ...
0
votes
0answers
4 views

make wp_get_terms show active links for custom post categories

I'm trying to figure out how to make a custom post category page (for a custom post) I want to have all the categories for the posts at the top of the page as links. I've used this code below to do ...
0
votes
0answers
11 views

Replace content via rest api only?

I am not really looking for code as answer but just the idea. How can i replace content in posts or pages without using short codes or plugins via the recent rest API? In template engines you'd have ...
0
votes
0answers
12 views

Automatically require PHP files causing error in wp-admin

I have been using this function to automatically require in PHP files. function req_php_files($filepath) { $Directory = new RecursiveDirectoryIterator($filepath); $Iterator = new ...
1
vote
1answer
14 views

PHP Script to Download Latest PLUGIN Version

I use the following code in my PHP script to automatically download the latest version of WordPress... $wordpress_zip_file_url = 'https://wordpress.org/latest.zip'; file_put_contents("wordpress.zip", ...
-1
votes
1answer
11 views

1000+ records per user: Multiple user tables or one large table

I want to allow users to have 1000+ records in my wordpress system. I was wondering is it best to have just one table for all users and their records or one table per user? Keep in mind that I ...
1
vote
1answer
12 views

Cannot Find Hook that is changing the_content()

I am working with a wordpress theme that is using Foundationpress as it's starter theme. When I use the_content() all img tags have there css class replaced with image. This is overwriting the ability ...
0
votes
0answers
10 views

Detect hover over control label in customizer

In the WordPress Customizer > Site Identity: there's a text field for 'Site Title' wrapped in a list item id li#customize-control-blogname I want to detect whenever a user hovers over this element. I ...
0
votes
0answers
16 views

Ideal inline dynamic CSS injection

There is a code in here that dynamically load custom script. <?php function my_styles_method() { wp_enqueue_style( 'custom-style', get_template_directory_uri() . ...
0
votes
0answers
10 views

Embed an audio file from Dropbox

Is there any way I can embed an audio file hosted in Dropbox to play within a Wordpress site? (Like one can with YouTube, Vimeo videos?)
0
votes
0answers
5 views

Is there a plugin that can list all my empty categories in a xml sitemap [on hold]

Is there a plugin that can list all my empty categories in a google xml sitemap?
0
votes
1answer
14 views

Is it possible to place custom post type files inside a folder in theme directory?

I have created a custom post type called customtype. From my understanding the template file for it would be single-customtype.php which is placed inside wp-content/themes/mytheme. Can I place the ...
1
vote
1answer
12 views

wp_enqueue_media() Will not load JS on the theme

I've added wp_enqueue_media() to a specific page (before including the header) on my custom theme but it flat out will not any of the JS on the page. I've already done the basic troubleshooting: ...
0
votes
0answers
10 views

custom post type remove adminbar edit link

I am trying without success to remove the edit page link on the wp admin bar for a custom post type when a user doesn't have the capability to edit_others_pages. function ...
-5
votes
0answers
14 views

Woocommerce: Adding my own slider as a Product slider

I want to add my own slider as a Slider for my products. Available plugins aren't really nice. So, I have my query and a slider, I'm just not sure where to edit it in Woocommerce... Any help?
0
votes
1answer
21 views

Wordpress Registration Email by Role

I'm wanting to send out a custom html email to a new user based on their role during registration. So, I have 2 roles that will be specifically registering on the site: photographer and subscriber and ...
0
votes
1answer
18 views

Admin page redirect to another admin page

How can I redirect certain WordPress admin pages to another admin page. For example I never want a user to see wp-admin/about.php it should always redirect to wp-admin/index.php. There are also a ...
-2
votes
0answers
9 views

WP Super Cache Issues: Test cache, GZip [on hold]

I've installed WP Super Cache in my site. The frontend is loading perfectly with footer timestamps in the source as follows: <!-- Dynamic page generated in 2.721 seconds. --> <!-- Cached ...
0
votes
0answers
17 views

Trouble with Permalinks - Mod_Rewrite on, htaccess accessable

I'm having issues with custom permalinks, I've gone through weeks of trouble shooting to no avail. Today I've confirmed that: htaccess is being read, tested with just writing "test" at the top of ...
0
votes
0answers
13 views

Attachments plugin cannot click media library button

I have installed the Attachments plugin (version 3.5.7) to upload multiple images to a post in my post type 'shop'. The problem: For some reason I cannot click the insert button of the media library ...
0
votes
1answer
16 views

Update field name without losing the value

So I have this photography website using ACF with flexible content. It has approximately 300 posts. Due to requirements, I need to update the name of some fields. I've tried the following query: ...
0
votes
1answer
8 views

Category page returns 404 error

I'm developing custom theme that should show all categories on a single page in /category path. When i navigate to /category/some-category, i can see all posts that belong to that category, but when ...
0
votes
1answer
12 views

Problem With DNS or Wordpress installation>

So I added an addon domain in cpanel. Before I had registered this domain through a hosting company, so I just changed the DNS at their site pointing to my new location(siteground). Also I used the ...
0
votes
1answer
21 views

PHP getting error when trying to access WP-Admin Dashboard

I'm unable to get into the backend of my site, and it's throwing the error Warning: ...
-2
votes
0answers
10 views

Call custom functions outside the theme

I have created a custom function in functions.php file to delete the post from custom post type. Can i call that function outside the theme?
-2
votes
0answers
11 views

Wordpress product-tag search enginge no-index [on hold]

it appears there is some content duplicating on my webpage via product-tags https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-prevent-index-of-tags-not-working I have exactly the ...
0
votes
1answer
16 views

How to search for a word or text across all my private wordpress sites?

I am part of wordpress sites shared between multiple users. Each person has his own site and others can view or comment it. Now if I want to search something on my site, it is simple using Ctrl+F and ...
0
votes
0answers
15 views

Locked out of Admin account, unable to access php database and unaware of email used to create site

As you can see by the title I have been caught in Wordpress limbo. I had access to the admin account on sitename.com/wp-admin through username and password. However after adding a plugin the account ...
0
votes
1answer
18 views

How to count the number of archives there are

Is there a way to count the number of monthly archives? For example, my site has the 3 monthly archives (jan 2016, feb 2016). So the number should be 2. How I can display the count. PS: I want to ...
1
vote
1answer
17 views

Translating string in Woocommerce Cart

I usually don't have trouble translating WP and it's plugins for my customers, but this one string is driving me nuts. In the cart there is this line that tells the included tax next to Totals. For ...
-2
votes
1answer
10 views

Assign class to Drop Down Selections in WooCommerce Products Custom Fields

I have added a drop down to the WooCommerce Inventory Tab where the user can choose message to show in front end. In functions.php: // Display Fields in Back End add_action( ...
0
votes
0answers
26 views

What is WordPress doing with responsive images?

Complete WordPress noob building a custom theme here. My understanding is that WordPress (4.5.1) "handles" responsive images in the background, and that best practice is to upload the largest possible ...
1
vote
1answer
40 views

Unhook action from child theme

0 down vote favorite I have decided to use a Woocommerce Storefront child theme called Galleria, when I have previously used the storefront theme I have used the common remove_action to unhook the ...
0
votes
1answer
16 views

Visual Composer custom markup for custom shortcode (vc_map)

Trying to get custom_markup to work with the Visual Composer builder for WordPress. Here's some documentation for the vc_map function ...
-3
votes
1answer
17 views

How to change the order of elements getting displayed in the wordpress plugin

i am using the "Post grid" plugin version 2.0.7 for displaying the posts. i want to display to the category name at the top of the card but by default the featured image is shown at the top and the ...
0
votes
1answer
9 views

How to adapt upload_dir to save files outside of WP uploads folder

We have a CPT which is used to manage various assets including image, pdf, CAD and other files. Our client would like to keep these asset files seperate from their other media files and does NOT want ...
0
votes
0answers
10 views

PDF file not open in Mobile Devices

I have develop website for guidance of student. Its contain lots of PDF file which show through custom post type. The site perfectly work on desktop but the issue is when it open in mobile devices PDF ...
0
votes
0answers
13 views

update_option() is not working properly on my side, xampp and wampp is crashing

I'm using update_option() inside a validation callback on a custom options page for my theme, but every time I execute or save the settings page, Xampp and Wamp are crashing. Here is my code: ...
0
votes
0answers
12 views

Add custom query string to specific pages

i need a function that add a custom query string to some pages on page load. I have some pages with city's like : mysite.com/city1/ On this city pages i need to add the query string like: ...
0
votes
0answers
9 views

How can we create web services with WPML , multi language support

i am running woo-commerce based shop on wordpress , Website running in two language , Now i have created web services for my website for IOS and Android , App need to develop in both language same as ...
-5
votes
0answers
14 views

How to acquire an existing domain

I'm looking to start a Wordpress site, but my chosen domain is already taken. The blog is nothing more than a template so looks to just be straight up cybersquatting. Unfortunately, there are not even ...
0
votes
0answers
15 views

Hide empty categories from get_categories

I'm trying to hide the empty categories (with no posts associated) from a list in an archive page. I'm using hide_empty as suggested on Wordpress codex but it's not working, the code outputs all ...
0
votes
1answer
10 views

How do I routinely extract the thumbnail of the most recent post?

I would like to write a PHP snippet that can communicate with Wordpress. When a new post is published, a file today.jpg will be generated from the thumbnail url (a custom field) of the most recent ...
0
votes
1answer
18 views

Outputting Page Title As Tooltip

I'm trying to output the page title via wp_nav_menu() as a tooltip (.pop_up). The menu text has been replaced by an icon, and using CSS to hide it. Any ideas how this could be adapted to output the ...
-2
votes
1answer
16 views

How can I interact with a third party service that sends POST requests to me in response to the order information that I send them?

I'm developing a payment gateway for Wordpress. I should send the data to a third party and get the confirmation code (and other info) from them. The problem is that they don't return this ...
0
votes
1answer
14 views

mu-plugins Aren't Loading - Need Help

I've looked at other posts regarding mu-plugins but I don't understand yet. Here's the situation: My site is hosted by a service that automatically set up 2 caching plugins. Cloudflare and OP ...
1
vote
1answer
18 views

Can I transfer a mysql database to another site?

I've been playing around with WP for about 2 years so I know my way around, but I'm kinda new to working with databases. I've been making sites not relying on a database too much. However, I have a ...

15 30 50 per page