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” [on hold]

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? [on hold]

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 [on hold]

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
8 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
1answer
17 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
40 views

Wordpress won't auto upgrade to 4.1.2 [on hold]

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? [on hold]

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
9 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
18 views

Prevent CF7 attachment from being deleted [on hold]

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
17 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 [on hold]

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
18 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
11 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
13 views

In WooCommerce, display category / subcategories for a given product [on hold]

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
12 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
10 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
12 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 [on hold]

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 [on hold]

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
43 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
9 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 ...
0
votes
1answer
22 views

Plugin translation not displaying

I have written a plugin to be translation-ready, and I have written a translation. As far as I can tell, the .mo files for the translation are loading correctly, yet the plugin is still displaying ...
0
votes
0answers
14 views

Ordering by custom post meta key

I'm using the plugin WP Job Manager, and have a custom field with the meta_key "rating". I want to be able to order listings by rating, using "orderby". Normally for posts I imagine it would be ...
1
vote
1answer
18 views

Custom Post Type Capabilities — Enable Edit, Disable Create and Delete

I'm trying to configure capabilities for a custom post type. I want to enable editing, but disable creating and deleting. create_posts cannot be set to false unless delete_posts is also false, but it ...
0
votes
0answers
10 views

Filter woocommerce products with product type

I added new product type like here http://wordpress.stackexchange.com/a/120220/66786 Now I want show just that type products here is the my query $query_args = array('post_type' => 'product' ); ...
0
votes
0answers
6 views

Problem with Duplicate Meta / tag description in Webmaster Tool

Hope you are fine and in a good health. I owned a blog www.ismag.com and today when I check my website in Google webmaster tool I found these errors in html improvement. I am using WordPress SEO ...
0
votes
0answers
8 views

In edit post show categories as select instead of checkboxes

In wp-admin edit post categories(taxonomies) are listed as checkboxes. People can select multiple categories. That is exactly what I don't want! I want the categories to be listed as an ...
0
votes
0answers
10 views

Woocommerce variable product does not support image against each variation [on hold]

In woo commerce when we upload a product and make it a variable product.then for each variation it provides an option for image upload but when we select that option on front end it does not show that ...
0
votes
0answers
14 views

esc_url within iFrame

I'm building a WordPress theme. To improve security, I'm escaping any URLs, like so: <?php $background = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), '' ); ?> <div ...
0
votes
0answers
19 views

Best way to access variables in template markup

I am making my own mini OOP wrapper for working with wordpress themes. I have a main $settings variable that contains all of the information like definitions, scripts, menus etc.. I then pass this ...
0
votes
0answers
11 views

$authordata related posts by author

I created a widget to display related posts by an author but the code no longer gets the posts by author. I'm guessing something has changed in Wordpress and see some reference to the_author_meta but ...
0
votes
0answers
23 views

Wordpress tremendously slow after uploading too many products on Woocommerce

I use Wordpress (latest version, updated yesterday) + Woocommerce + Bulk Photo to Product Importer to manage my online photos selling agency. I upload a lot of photos taken during sport events and ...
2
votes
2answers
26 views

Shared table across network

Im currently creating a plugin that will read an xml file and import the data into 4 tables on a wordpress multisite. the tables are rather large, with ALOT of columns, so the post table is not ...

15 30 50 per page