0
votes
0answers
3 views

Use get_option with $emailTo on contact page

I have created a contact page, and all I want is to make the variable $emailto be dynamique. What i mean is i have an option page on the backend and I want to let administrator change the contact ...
0
votes
0answers
4 views

Filtering multiple categories using data-filter

the website I am working on uses the following to filter categories:<?php $terms = get_terms('animals'); $count = count($terms); echo '<li><a ...
0
votes
0answers
3 views

Hide/Show meta slider in header via page slug

I've edited my themes header.php file so that it will load a meta slider if the home page is detected or the slug matches the page but it isn't working. All of the slides are shown on all pages ...
0
votes
0answers
7 views

WP 2.3 - Categories doesn't show on the menu at all on different accounts

I'm having an issue where the Categories Taxonomy is showing on one admin account but is not showing on another admin account with the same accessibilities/privileges. What could prevent it from ...
0
votes
0answers
4 views

link category listing to single product directly skippping the product listing page

i need to remove the product listing page. The category must be linked to it's latest product on the single product page. Currently i've created a new template and i'm calling all the categories and ...
0
votes
1answer
8 views

preview_post_link for Custom Post Types

I've got a custom post type, and I'd like to be able to change the preview link but from what I can tell, the hook for preview_post_link only affects the default post type. Any guidance? Here's what ...
0
votes
1answer
10 views

Woocommerce registration page

So...I just found out that the shortcodes for the login and registration pages are now removed from Woocommerce.... I know the forms are inside "My account" page, but I need a link in the menu to ...
0
votes
0answers
12 views

Add a new dynamic submenu to an existing menu trough a hook

I have created a function which binds to a shortcode, for inserting a language switcher in the form of a dropdown menu. Now I don't want this menu inserted trough shortcode, but instead i want to ...
0
votes
1answer
13 views

Add data to post edit page, when post is published

I need to customize the "post edit page", for a custom post_type, but to keep things simple let's say it's on the post_type post for now. When the post status is published, I need to run a PHP script ...
0
votes
1answer
17 views

Woocommerce Theme Reviews / Comments

Ok so i'm creating a Wordpress theme and i'm at the point where i'm trying to get a list of the reviews but the default comments_template() HTML isn't how I need it. I don't have a /comments.php ...
0
votes
0answers
16 views

Calculate the total of 2 meta values and ORDERBY

I've configured products in WooCommerce to use a point system (either 0 or 1) using Advanced Custom Fields and would like to order the products by these values - there are 9 options in total per ...
0
votes
0answers
24 views

Reformat data within a nested array

I have the nested array of data below which comes from the Wordpress Formidable Pro plugin form entries database table. I would like to reformat it so I can use it in a Wordpress WP_list_table but I ...
3
votes
1answer
32 views

Limit number of pages that use a specific template?

I have a custom page template, so a .php file in my themes folder with this at the beginning /* * Template Name: MyTemplate */ Now I can, in the WP backend, create new pages and select this ...
0
votes
1answer
14 views

how to create table during plugin installation in side a class

I am creating oop base plugin. So how to create table during plugin installation in side a class.But I could not create table. This is my approach.What wrong with me. class Notification { ...
0
votes
1answer
17 views

get all remaining posts after a partcular post id

We all know and its easy to get posts using wp-query. We can filter, orderby etc. I am in a situation, i would like to get all remaining posts after a post id, say 100. So what i need is to get all ...
0
votes
0answers
11 views

Wordpress CORE API - plupload

I've create a form for upload image from frontend but i do not know how can use plupload "Core API" http://plupload.com/examples/core Look the code below. <!– HTML – upload photos –> <div ...
0
votes
0answers
10 views

Client portal/Custom Users

Here is my problem: I have to create a client portal that shows some parts of the website to the logged users, and I prefer to do that without a plugin (like WP-Client). I need to import client data ...
0
votes
0answers
20 views

does it need any special functions to write in function.php?

does it need any special functions to write in function.php of template for single-{post_type}.php? I created a custom theme , but it does not move the single-{post_type.php}, my page is ...
1
vote
1answer
21 views

How to order by post_status?

I'm using get_posts() like this: $posts = get_posts(array('orderby' => 'post_status')) which is not possible cause it's not in the allowed keys in the parse_orderby() method How to get around ...
0
votes
0answers
11 views

How to list posts of a given format

I want to create new urls in my wordpress that list posts of a given format and category. I thought the url structure would make sense to be like this: /[post-format]/[category], i.e.: ...
0
votes
1answer
13 views

Expandable WordPress content (text) inside a post

I've created a CPT in my WordPress site. In this CPT I have the content element (which is the default WP content) and want to make it expandable, I mean, while viewing the CPT I want it to only ...
0
votes
0answers
5 views

Force reauthentication/login for specific page for currently logged in users

I have a page that searches user information. The site is a record keeping site. I want it so that when people click the "View Records" link that they mus re-authenticate before proceeding. I'm not ...
0
votes
0answers
6 views

wp_list_table, jquery get the value of the checkbox

Hello i'm trying to make inline edit for my wp_list_table. but i've hit a brick wall. the thing is that each elemement/td is made up off 2 class column example: <td class="name column-name" ...
0
votes
0answers
9 views

plugin generated 4 characters of unexpected output during activation

i write code for plugin create my own custom table in wordpress db but they show my the error "The plugin generated 4 characters of unexpected output during activation. If you notice “headers already ...
1
vote
1answer
8 views

WordPress and automated MySQL backups to a different host

I'm having the following setup. A development computer in my local network and a production server with a real internet domain. Developing the PHP/CSS files on my dev computer for my theme is handled ...
0
votes
3answers
24 views

Featured Image not showing in admin

Currently im making new theme and had the idea of adding featured image in the admin side of wordpress, unfortunately its not working this is what i have tried I have added this code in functions.php ...
0
votes
1answer
19 views

New custom nev not working

I am suffreing from an issue from last few days. I have to create a custon nev calls ribbons, that will have some custom functionlity but at the starting steps I am not able to create the nev pages. ...
0
votes
1answer
8 views

`tinyMCE is not defined` after migrating site to server

After migrating site tinyMCE (text editor) top bar have disappeared & text color have changed to black, I am getting 4 errors in concole and below is a snapshot of it. I am using WordPress ...
0
votes
0answers
11 views

error in uploading any kind of file in wordpress

I am getting problem at the time of uploading any media file or plugin. I have changed the permission of wp-content and plugin and upload folder in 755. Still I am getting the same problem. In ...
0
votes
0answers
6 views

Does anyone know how to setup woocommerce with s2member?

I have just started a project where i did this in wordpress: installed woocommerce installed wc vendors -> this helps in making members in the site become vendors installed s2members -> need ...
-1
votes
0answers
14 views

WooCommerce Flat Rate per Order Type + Fee per Unit

Been setting up a WooCommerce site. It will be fulfilled using Amazon with the NS FBA Plugin and I have been working on mapping the shipping options in NS FBA to WooCommerce. I added a flat rate - ...
0
votes
1answer
17 views

Include Buddypress & bbPress styles/scripts conditionally

I'm working on a custom theme that uses Buddypress and bbPress to add social network functionality. I've noticed that both plugins css and js (many files) are loaded on every page, even though none of ...
0
votes
1answer
15 views

new post link leads to 404 error page

Whenever I try to add new posts or pages, or edit posts or pages from the admin menu, from the front end or even from the all posts and all pages lists, I can't. I'm always taken to a 404 error page. ...
0
votes
1answer
18 views

Wordpress C# User Login

I have a very basic C# login system first i've work with localhost and basic databasebase username-password but now i want to connect my project to my website which is wordpress then i realize ...
0
votes
0answers
7 views

WP Canvas Galley plugin

I have installed the plugin and created the gallery, but i do not get the actual images displayed. When inspect the element, it seems that the gallery is there, but images not. Plus I could not get ...
0
votes
1answer
34 views

Related posts with WP_Query

I'm stuck with the related posts querying. I need the related posts to be displayed with any depth from the main parent. I have the following structure categories on my website: - Category level 1 -- ...
0
votes
1answer
17 views

How to get authors avatar

How do I get the authors avatar? Buddypress plugin or any plugin. I have found this inside my PHP code: "<i class="fa ...
0
votes
1answer
11 views

I have index.php and other files, how do I display other pages?

I'm converting an HTML theme into WP. I have index.php, header.php, footer.php, which are from HTML. Then I created pages from within admin area like about-us etc. Created a menu and linked those ...
0
votes
0answers
11 views

Wordpress editor filters out my data from $_POST

I am currently working on a translation plugin in Wordpress. I added a navigation bar on top of the editor like this: add_action('edit_form_top', array($this, 'add_tabs')); In that function, I add ...
0
votes
0answers
8 views

Local Wordpress install plugin wont upload image

So what I have going on is a plugin I am using (simple ecommerence) is not uploading an image locally (using MAMP). This is what I have tried so far: The plugin uploads all the content (name, ...
0
votes
0answers
19 views

Use one column per category

I dont typically do wordpress development, though I am a PHP developer, so I get those concepts. I apologize if this has been asked and answered already. I looked through the questions as they ...
-1
votes
0answers
28 views

Return array of values in php

So, following is used in a shortcode: [my_shortcode dfd_name="Steve"] if(strstr($key, 'dfd')) { $metaquery[] = array( 'key' => $key, 'value' => $val, ...
0
votes
0answers
13 views

Wordpress / Woocommerce custom registration fields

I am learning php and I am creating simple registration plugin for wordpress and woocommerce. Everything works like a charm for wordpress but not for woocommerce. As you can see for woocommerce ...
0
votes
1answer
19 views

WP_Query with meta_value LIKE 'something%'

I have read several questions like this (for example, this), but no equal. I WP_Query need to perform a LIKE on a meta_value. My problem is that I want the like is as follows: meta_value LIKE ...
0
votes
1answer
14 views

Twenty Fourteen: how do they populate by default the sidebar?

My question is pretty similar to this one: How can I insert default widgets when my theme is activated (similar to what twenty eleven does)? Except that it's for Twenty Fourteen. I'm trying to use ...
0
votes
0answers
9 views

How to iterate within Magic Fields Group foreach loop?

Okay so I'm using Magic Fields 2 on an old WordPress project (rather than ACF unfortunately) and I've got some confusion happening while I'm writing PHP. Basically I'm on a page template that calls ...
0
votes
0answers
4 views

Grab Current URL & Add to Cart Woocommerce

I have been researching of a way to do this but have been unable to find an answer to my question. There are answers on there on how to grab the current URL etc but it is not the answer I was looking ...
0
votes
0answers
5 views

Update wp.media state (mainly order) of images in Add Media Modal

I have to mimic a feature that was part of Wordpress 3.5 but was removed in Wordpress 4.0. When I am seeing the files uploaded to a post in the Add Media Modal, if I chose "Uploaded to this post", I ...
0
votes
0answers
10 views

Add new WordPress user to MailChimp list

There is a lot of plugins to integrate WordPress with MailChimp. But none of them allow me to add new user's email to MailChimp. Can anyone suggest one?
0
votes
2answers
18 views

When migrating all backslashes were stripped and special signs are converted in html entities

I'm migrating my wordpress-blog and so imported my complete content with WordPress Importer 0.6.1. (which is the latest today (July, 2th 2015). My mySQL-server version is 5.1.56-community. ...

15 30 50 per page