0
votes
0answers
10 views

Is it possible to add images to the Woocommerce attributes?

I'm building an e-commerce using the WooCommerce plugin. Right now, I am able add the images in the variations of every product, but the catalogue has 570 products and every product has at least 15 ...
0
votes
0answers
4 views

How can I set a subsection page for a plugin e.g ?page=_&subsection=subsection_page

How can I set a subsection page for a plugin ? I noticed some plugins have 2 settings pages as follows: Main one: options-general.php?page=page Subsection: ...
0
votes
0answers
4 views

Custom post type: deactivate / null single posts but maintain archive page

How can I deactivate the single posts so they dont exist or appear or "exist", I mean how can I block them to avoid their display/ existance. more details: Basically I created CTP called "PC" , ...
0
votes
0answers
16 views

Sort using custom fields when empty [on hold]

I have the following problem: I am working with WordPress to create a homepage for a client, now I am at a specific problem, that there are custom fields and the posts need to be sorted using those ...
0
votes
0answers
16 views

Integrate my site with Wordpress login system

Hello I would lite to use the login system from wordpress and use on my other project. I found this code: require('../wp-blog-header.php'); if ( is_user_logged_in() ) { echo 'Welcome, registered ...
0
votes
1answer
8 views

How to sort posts in archive loop

I need to sort posts using this loop, is an archive page (pc-archive.php) for a CTP named "PC". Tried with <?php while ( have_posts('order=desc') ) : the_post(); ?> but no luck... ...
0
votes
0answers
7 views

Category control subcategories

After hours of googling and no result I am turing to you. I have a Wordpress site where me and my colleagues publish information to the rest of the company. There are several screens put up on ...
4
votes
1answer
20 views

Better to fire specific hooks or generic hooks with paramaters?

I'm creating a form plugin to handle forms that can be hooked into using actions/filters by developers. My plug-in needs to be able to handle different forms with different sets of filters and I see ...
0
votes
1answer
12 views

What is this HTTP_REFERRER “WordPress/4.1.2”

On our website we have huge traffic with same IP and referrer "WordPress/4.1.2; http://www.xxxx.com". The log line looks like: 62.24.2.2 - - [22/Apr/2015:17:28:15 +0200] "GET ...
0
votes
1answer
29 views

Wordpress pages crash

I am facing a problem with a wordpress website i build: www.fixiebrothers.nl When you click around over the pages, sometimes it crashes and doesn't load any code at all. So it give the following code ...
0
votes
0answers
10 views

Is it possible to combine multiple category__in arguments?

I want to produce a query that returns posts which are in one array of categories and also in another array of categories. So, if my two arrays are: $offices = Array ( [0] => 73 [1] => 74 ) ...
0
votes
1answer
20 views

Archive pagination not working

I am trying to add pagination for my Archive. I want to show 12 posts per page and then show the 'next' / 'previous' buttons. When I manually change the value of the $paged variable, the 1 into a 2 ...
0
votes
0answers
6 views

Change “productpage”

How can i change one of the category in the productpage in Wordpress E-commerce I want to open one in a blank page (so i can write some information) linbiokopi.hol.es/?page_id=64 (select "Grus ...
0
votes
0answers
10 views

get_current_blog_id returns 1 in multisite setting

I am encountering rather a weirdo situation here. I am currently on a multisite and created a site. This site has a blog id of 3. However, whenever I call get_current_blog_id() it returns 1 (which is ...
0
votes
0answers
4 views

Visual Composer Front end editing - How do i redirect to a thank you page upon post save/publish?

I'm using visual composer as a front-end submission editor. How do i redirect my users to a custom thank you page when they submit/save their entry?
0
votes
1answer
23 views

When using W3 Total Cache should I remove my enqueues from functions.php

I am using W3 Total Cache, but when adding the stylesheets and scripts to cache I am not entirely sure whether I should remove those scripts from my functions.php enqueue list or not. Also a small ...
0
votes
1answer
13 views

Removing get_template_part in child theme

Parent Theme loads some template files in its functions.php as follows: get_template_part ('lib/login/register.php'); I want to remove this file in child theme and include my custom php templates. ...
0
votes
0answers
8 views

publish the post in multi categories individually [on hold]

I have two manager users and one super admin manager A: manages the posts in category A manager B: manages the posts in category B super admin: can do everything i did this by using the Restrict ...
0
votes
0answers
6 views

Wordpress URL strings for filtering posts by category

I'm working on quite a large blog based site specifically on creating a category navigation system designed to display posts based on multiple category queries. I'm doing this using URLs such as ...
0
votes
0answers
12 views

Custom Registration form Ignoring First and Last Name Fields

I'm trying to add a first and last name field into a custom wordpress registration form. The problem is that when hitting submit, the form shows an error stating that the first and last name fields ...
0
votes
1answer
16 views

Function to replace comment's accented characters before posting

I have some weird problems with encoding my Wordpress website and I can't add comments with accent words. when i try to do it, i received error by WP. What i need is just a function that read the ...
0
votes
1answer
37 views

Wordpress won't auto upgrade to 4.1.2

I've got a public facing WordPress installation (4.1.1) it says "You can update to WordPress 4.1.2–en_GB automatically" So I press the blue upgrade now button and then it says "Welcome to ...
0
votes
0answers
6 views

When does the 'woocommerce_get_price' get called?

trying to get a custom currency code working. I set some cookies up from the visitors ip address which seems to work fine, however the hook for the price change seems to happen prior to the cookie ...
0
votes
1answer
8 views

Downloading Generated XML File

I'm making a Widget which presents users with categories as drop down list. When user selects category and press download, I want to get all posts under category and download them. I have faced a ...
1
vote
1answer
15 views

Get the number of posts in a named category, outside the loop

I've managed to do this from a single.php file, inside the loop, but now I need to do it from another page. I need to find out how many live posts are in category named every story (slug is ...
1
vote
1answer
17 views

Prevent CF7 attachment from being deleted

I am using a contact form 7 plugin for an inquiry form and sending the visitor 2 local files attached to the reply email. The function I used is this: function my_dynamic_attachments($cf7) { ...
0
votes
0answers
13 views

Filter post by post title/content

I have a problem on my site. i have a automatic posting by instagrate the problem is sometimes my post gets duplicate. i want to filter my posts by their post title. i have this setup on page to ...
0
votes
0answers
20 views

Override default posts per page in taxonomy template

I am using the following code to show ordered list of posts in taxonomy page: <?php $mypage = (get_query_var('paged')) ? get_query_var('paged') : 1; $ppp = get_query_var('posts_per_page'); ...
0
votes
0answers
7 views

Why does wp_insert_post take longer than media_handle_upload?

I've got a page on my Wordpress site where users can submit posts or documents through the front end. I use wp_insert_post for the posts, and media_handle_upload for documents. wp_insert_post takes ...
0
votes
1answer
16 views

Exclude Custom Post Type & Pages From Auto-Tag Function

I am happily using this bit of code to auto-tag posts by author (thank you again cybmeta): add_action( 'save_post', 'add_authors_name'); function add_authors_name( $post_id ) { $post = get_post( ...
0
votes
0answers
9 views

Displaying a widget with custom taxonomies

I'm trying to display a widget that would pull all the information from custom taxonomies for the relevant post, like this: http://www.onlinecasinos.fm/reviews/bet365-casino In that example, on the ...
0
votes
0answers
3 views

How do i get the WP multi importer plugin to keep amazon affiliate tag intact

So when I use WP mulit importer plugin on my site to download rss and add my affiliate tag the affiliate tag is somehow deleted. Has anyone seen this problem or solved it?
0
votes
0answers
17 views

WP_Query and Pagination on a Static front page (Extending Visual Composer…)

For the past two days I've been trying to debug an issue with WP_Query() and Pagination. This website I'm a dev for uses a Wordpress theme (Salient by ThemeNectar) that includes the visual composer ...
0
votes
0answers
10 views

How to output a different Facebook Follow button for multi-authored blog

I'm trying to add a Facebook Follow button to my meta entry next to the comment count. I'd like to display a different follow button for every author (there is two of us) in my blog. I'm using ...
0
votes
1answer
14 views

how to redirect the link to a category in the website

Hi Im really new to wordpress and this error is really stressing me out everytime I click a link in my category sidebar it redirects me to the homepage any idea on how to resolve this problem this ...
0
votes
0answers
12 views

In WooCommerce, display category / subcategories for a given product

I am using WooCommerce. For the current product, I need to display the categories that the product is in, and any subcategories, in this format: Main category / subcategory, subcategory ... Main ...
0
votes
0answers
14 views

want to add a .html with existing rewrite rule

I'm trying to do two things to a woocommerce product category url im trying to strip out the base of product-category and add .html to the end of all product categories I've achieved the first ...
0
votes
0answers
12 views

Unable to rebuild my database for Wordpress website [on hold]

I exported both copies of my database so now phpMyAdmin does not have any databases. In order for me to import the backed up database, and save my wordpress website I've been told I have to be logged ...
0
votes
1answer
11 views

How to list all names and descriptions of a custom taxonomy

I have a custom taxonomy (toolkit-sections) inside a custom post type (toolkit-tools) and I'm looking to just list the taxonomy names and descriptions from toolkit-sections on a homepage. I don't ...
0
votes
0answers
6 views

Make subtraction from bbPress (version 1.2) topic_posts

I am using bbPress standalone 1.2 version. In the front-page.php topic posts count is wrong. It displays 1, even if there is no answer for topic. How can i make subtraction from <?php ...
0
votes
0answers
9 views

Hide Certain Tags on Single Post Page

I'm trying to hide certain tags from single posts pages. I've googled and found 2 codes but both are hiding the whole post page. I'm using a theme that needs using 2 tags ticker and slider to show ...
0
votes
0answers
11 views

Custom WP MultiSite with Workflow

This is quite a weird question, so here goes. I have this project to take 1 main site and make 200 sub sites off of it. The sub sites will have defined content areas within a page where the sub site ...
0
votes
0answers
8 views

Set Per product or per category Minimum delivery time in Woocommerce

Is there any way to set Minimum Delivery Time per product in WooCommerce. Example in a Gift store, cakes can be delivered in 5 hours however, a customised photo frame will take 4 days to make and ...
0
votes
1answer
28 views

i can not access my local host, when i look in phpadmin my databases are gone and i am unable to login to mysql

I am absolutely terrified that I will have to rewrite my entire website. Please help me! I have a copy of my database, I exported it and saved it on an external hard drive. This is my first time ...
0
votes
0answers
18 views

Custom post type term names with ampersand in the term name

Every time I think I've got a handle on WordPress it finds a way to baffle me. Recently we've been having an issue with not being able to attach term names with an & (ampersand) character in the ...
0
votes
1answer
22 views

Custom JS on a specific page

So, I have the following custom JavaScript in a page. (Written exactly the way it shows, except the img src) <script ...
0
votes
2answers
42 views

Add value to array in database

I have a custom database in my WordPress site where I want to save multiple values to one row. Let's say I have an entry: id: auto increment pageid: id of current page time: text (is an array ...
0
votes
1answer
19 views

Get-pages can't load pages with custom post types

I build a one page wordpress theme and i use get-pages to load all pages in front-pages.php , but i can't load pages with custom post type . this is my code in front-page.php : $pages = ...
0
votes
0answers
8 views

Element on page, is fixed position relative to parent want it relevant to body

I am adding an overlay element on a page using a fixed position. The actual css is .overlay { width: 100%; height: 100%; position: fixed; top: 0; right: 0; ...
0
votes
0answers
14 views

Modify request query string before plugins

I have an issue where a plugin allows some behavior I don't like. Basically, I want to grab and modify a request query string before the Ultimate Member plugin processes it. Basically if someone isn't ...

15 30 50 per page