1
vote
0answers
12 views

After Submitting Comment Form Shows an Empy Page in WordPress

I have created comment form and write comments then submit. But it will shows an empty page. The page path is http://localhost/isite/test/src/wp-comments-post.php I have changed define(wp-debug ...
0
votes
0answers
16 views

Wordpress changes not showing

I'm wondering how to fix the website when the changes are not showing instantly? I tried the following fix: Installed W3 Total Cache and Super cache and cleared all the cache on the website Cleared ...
0
votes
2answers
9 views

Why do I get jQuery reference error / undefined when changing name of plugin file?

I have two sites which I've copied a plugin from the first site and then altered the plugin and changed the name of plugins directoy and class name. Like from: old_xplugin In the root of this ...
0
votes
1answer
20 views

Call to a member function have_posts() on a non-object on normal loop

<?php defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); define( 'MY_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); define( 'MY_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); ...
1
vote
0answers
18 views

Display child pages on parent page: 404 message overrules shortcode in page

I am trying to get a page to show a list of the child pages. I am using the Foodie Pro theme on the Genesis framework. I am using the following code to do so: add_filter('the_excerpt', ...
0
votes
0answers
19 views

Wordpress slider with bootstrap carousel

I have create slider for front-page with bootstrap carousel, for slider content get from featured category, problem is the slider 1st, 2nd, 3rd displayed as list. normally layered with navigation ...
0
votes
0answers
17 views

post_type_link and add_rewrite_rule

I created 3 custom-post-types: 'Category', 'Main-Thing' and 'Part'. Via Plugin I connect them, while 'Main-Thing' has a 'Category' and a 'Part' belongs to a 'Main-Thing'. I do not use any taxamonies ...
1
vote
3answers
109 views

On which hook should I be calling register_nav_menu(s)?

I've variously seen register_nav_menus() called: on after_setup_theme on init pasted "loose" into functions.php with no apparent change in functionality. Which hook should I be using to call this ...
0
votes
0answers
11 views

Formidable Pro - Status entry [on hold]

I have a registration form which is currently live. Currently there are already entries in it. But I want to know if it's possible to add in the back-end of the entries a view or a filter option where ...
0
votes
0answers
16 views

Rewrite single template permalink?

I have a single template file called single-schools.php. A school "templated" post is reached via the url http://example.com/schools/post. But the site's main language is Swedish, and therefore I want ...
0
votes
0answers
29 views

Display different list of “Custom Templates” for each Custom Page Type

I was wondering if it is possible to categories Custom Page Templates. I would like to display 2 meta boxes which display different templates (which would then only be displayed on page edit screen if ...
0
votes
2answers
43 views

Checking if there is an Image inserted - if not don't display anything

So within my Customizer I have a section that controls this Slider on the Homepage - the thing the client might not want to use all the Slider Images but all the Sliders still show anyway and the ones ...
0
votes
1answer
43 views

Inserting CPT and static content at every X post, is this possible?

I'm working through a spec list for a new project which has the following feature: Display all CPT's from a specific category on an archive page, then insert an advert (CPT) into the loop after every ...
-3
votes
0answers
17 views

Yoast snippet tool [on hold]

In the snippet tool I see the title. If I click on the title, I can't change this manually. Why is that? The url and description can be changed. On some pages it works fine, some not. What do I do ...
-3
votes
0answers
11 views

Show_Hide Different Divs Onclick Different Classes [on hold]

I'm trying to call different divs to show_hide, when I click on a hyperlink with a class. The problem is, I can't get one to disappear when the other hyperlink is clicked. I know its in .Toggle, but I ...
0
votes
1answer
31 views

Else condition not working while using has_post_thumbnail

I've been trying to develop a recent posts widget which will display my most recent posts in sidebar. I am trying to display default "ft-thumb.jpg" image if there is no post thumbnail but its not ...
1
vote
0answers
15 views

What is the correct workflow to update a plugin on my Wordpress website using SVN? [on hold]

I have a live website and 2 development servers (webdev & staging). Usually when one of the plugins that I am using on my website has an update, I will log into the dashboard on the webdev server ...
1
vote
1answer
28 views

Sharing Header Components Across Multisite

I have a multi-site platform and I'm trying to share the menu that I have in main with other sites that are located in different folders. This is the PHP tag in the main that pulls the menu which I ...
-3
votes
0answers
22 views

Pdf thumbnail wordpress- pdf gallery [on hold]

I want to include some PDF documents. I don't want to put links, I want to make a picture of it and below it to write a title, short content or anything simple that looks good. For example like ...
0
votes
0answers
17 views

option settings styling

I would like to use the safety features of the Settings API while having more control over the styling and order of the settings fields. I wonder if that is possible at all. Let me give you some ...
-1
votes
0answers
23 views

Include a header from other theme in multi site

How can I include common header.php file in other theme. I have a multi site on same domain. For example www.site.com and www.site.com/test, I need site.com header in site.com/test site. This means ...
0
votes
0answers
9 views

delete all the mysql databases from ubuntu [on hold]

So I had installed WordPress on my Ubuntu machine. I had created multiple mysql databases with different username and passwords. (I don't remember them anymore). Now I want to remove complete LAMP ...
-2
votes
0answers
8 views

List default order by id instead of date woo-commerce?

I would like to display the default order list by order_id instead of date in WordPress dashboard. i.e. When we click on order sub-menu of woo-commerce menu, order list should be by order id not by ...
0
votes
0answers
9 views

Access Control Allow Origin problem with CORS

I'm at wit's end. We're using CORS to go back and forth between a .NET environment and a WP/BuddyPress environment. I've added the Access-Control rule to the header in index.php, with no wildcard. ...
-2
votes
0answers
5 views

Begin WordPress Super Cache Preload programmatically

I have activated WordPress Super Cache Preload mode and it works very nice. In my current project, I need to clear all cache files when a new post is published and immediately after start to preload ...
-1
votes
0answers
10 views

Woocommerce require confirmation booking problem

Right now the site is using Woocommerce for the booking system. There is a option to set the product whether it is require confirmation to book The problem is my site is mix of the products that ...
1
vote
1answer
22 views

Best method to make posts searchable, sortable and filterable - custom field, tag or category?

I'm wanting to create/modify either the existing post type, or create a new post type to be searchable, sortable and filterable by the following fields: Country from: Country to: Activity: ...
-3
votes
0answers
21 views

How to center contact form 7 on the sidebar

site in question I want to center the fields and the submit button, any one has any ideas ?
0
votes
1answer
30 views

Two near-identical custom field types - one works, the other doesn't . What can cause this?

I'm using Advanced Custom Fields to add meta information to a custom post type and in ACF I've created two different 'Select'-dropdowns - one is called 'series' the other 'classification'. I run a ...
0
votes
1answer
9 views

Update the value of every page's content editor with the value of an Advanced Custom Field on that page

Problem: I imported posts from an old Wordpress site to a new Wordpress site. Previous developer used an ACF field in replace of the Wordpress content-editor on post pages. I want to transfer the ...
0
votes
0answers
8 views

How to Add Class or ID to a WooCommerce Layered Nav Widget

I'm looking to modify the class/id of a WooCommerce Layered Nav widget by adding in a new class or ID if the widget is displaying for a WooCommerce attribute (ex. Sizes, Colors attribute). Is there ...
0
votes
0answers
14 views

Add wordpress category id to user meta with button

I want to know which categories my users are most interested in so I want to add a button to categories theme so if they click it that is saved to user meta. Similar to this: Let user subscribe to ...
-2
votes
0answers
12 views

Direct comparison using the Exports & Reports plugin?

I'm using the excellent Exports & Reports plugin https://wordpress.org/plugins/exports-and-reports/ I'm curious if anyone has been able to get a direct comparison working with variables. I have ...
0
votes
2answers
63 views

WP_Query results stored in variables

I'd like to know if there is a way to store WP_Query results in variables that I can then go ahead and insert anywhere on the page outside of the loop. For instance, say I want to get the feature ...
-2
votes
0answers
8 views

How can i display 5 nextgen galery images using custom field

How can I display only 5 images from a gallery (NextGEN Gallery) using an advance custom field. I have this code, but retrieve me all the picture in that gallery, I want only 5. My custom field for ...
0
votes
2answers
27 views

WP Redirect with user nickname/username

I am trying to redirect the user after login/signup to profile page, but I am not sure why is it not putting the user nickname in url. $current_user = wp_get_current_user(); function aloginuser( ...
0
votes
0answers
29 views

Removing A Parent Theme Template

There is a template with code that I want to prevent the child theme from loading. All it does is load a little date box. What i've done is duplicate the hierarchy of that template file located in the ...
0
votes
2answers
52 views

Should I not update the plugin?

I am currently trying to build a website for a client using WordPress for a school project. The client requires a user system with a log in and storage of user permissions and information.I downloaded ...
1
vote
1answer
16 views

Wordpress wp-admin suddenly lost its style

NB: I originally posted this on SO, but I was recommended to try here - sorry for the duplicate! I'm really baffled about this. In the last couple of days (since I was using the site last), my ...
0
votes
1answer
11 views

Why cannot author edit pages?

I have this in my functions.php (child theme) //Add capabilities to author, so he/she can edit... function add_theme_caps() { // gets the author role $role = get_role( 'author' ); ...
1
vote
0answers
9 views

WP Media uploader loading only once in options page

A weird issue happening with me which I am unable to fix. In my theme options page, I added options to upload images one for logo and another for backgroud image. Here is my HTML <table ...
0
votes
1answer
21 views

How to load an assets based on custom field value?

How can I load an asset based on custom field value? - This would be outside of the loop, all I can find for this is in the loop related functions, which I'm not familiar with, or what I find are ...
0
votes
0answers
16 views

meta_query against multiple custom fields

I have a set of ACF custom fields: event_type (values are "single" or "multiple") event_start_date event_end_date (this only shows up if event_type is set to "multiple") I need to be able to show ...
0
votes
1answer
20 views

How to remove /page/2/ from home page?

First of all: I don't understand the meaning or the action that http://myurl/page/2 does? I checked the Net tab in Firebug and saw that my page takes more than 3 seconds to load /page/2... but I ...
0
votes
1answer
13 views

Delete all attachments not used in post?

The site has 14,083 files, at least 3,000 are not used in publications. How do I delete all the images that are not attached to the post?
0
votes
4answers
46 views

How to show only manual / custom excerpts?

I know how to add the more-link in the post editor to show the excerpt of post instead of the full post. In this method excerpts created automatically. If I want to manually enter the excerpt I have ...
0
votes
1answer
26 views

Allow authors to post only in categories they create in WordPress

I'm looking for a way to allow users with an assigned WordPress role (in my case, author) to create new categories and then automatically be restricted to only posting in those categories or the ...
0
votes
0answers
10 views

Unable to update the search.php title

After trying to translate the title string for the search results page, which up to now I was 100% was the search.php file in the theme, which was unsuccessful, I tried hardcoding the string into the ...
-2
votes
1answer
29 views

My Wordpress site hacked with unwanted popups [on hold]

I have a woo-commerce shop on my wordpress but I've been attacked by some kind of hack. As you can see in the image there are lots of popup link on top of my site . How can I clean this ? I do not ...
-2
votes
0answers
58 views

update_post_meta not working in save_post hook

I have this hook: function save_custom_meta_data($post_id, $post, $is_update){ // avoid infinite loop remove_action('save_post_myposttype', 'save_custom_meta_data', 10, 3); $custom_meta_data = ...

15 30 50 per page