0
votes
1answer
22 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
12 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
15 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
9 views

Does anyone know how to setup woocommerce with s2member? [on hold]

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 ...
0
votes
1answer
18 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
17 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
26 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 ...
-1
votes
0answers
9 views

WP Canvas Galley plugin [on hold]

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
48 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
22 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
13 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
14 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
11 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
20 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
16 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
20 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
18 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
1answer
79 views
+50

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
5 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
6 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
22 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. ...
0
votes
1answer
13 views

Qtranslate seems to be incompatible with my site

I have been using Wordpress for about a month now, and have been using qtranslate-x in order to have my web content in French and English. It has been working well, but today my site is no longer ...
0
votes
1answer
17 views

Rewritten URL not loading WordPress environment

I have a page that I am sending users directly to so I can serve them a PDF dynamically created using the FPDF library. Since I'm sending them directly to the file which generates the PDF, I'm ...
0
votes
2answers
26 views

Should non-WordPress data get its own DB?

I couldn't find anything on Google or on here about best practice for data that is not really Wordpress related. Say we have a database of clients that we'll be accessing through PHP/SQL. Should I ...
0
votes
1answer
17 views

Wordpress Prevent 404 on missing custom post

The thing I am trying to achieve is to get data from a third party data source and display each piece of information as if it was a "post" in a WP theme. Now, the WP theme intrinsically works with ...
0
votes
1answer
9 views

Opening protected page with cookie?

I'm working on an app that uses WordPress for user management. After login, the app holds the auth cookie. How can I use that cookie to open a web view of a protected page within the app without ...
0
votes
0answers
8 views

How to create MultiStore?

I've read something from you explaining how to create a multistore using multisites. I im starting a project in which I need to be able to open multiple stores with the same or similar products. And I ...
-1
votes
1answer
28 views

Shortcode leads to white screen

I have this code to show news in block. but when include this code in functions.php to call it in shortcode. It show me white page and not show me any error. So where is my error? For some reason, ...
0
votes
0answers
23 views

WP REST API Basic authentication not working

So I have https://wordpress.org/plugins/json-rest-api/ and https://github.com/WP-API/Basic-Auth installed in my wordpress. Going to something like /wp-json/posts works fine. However when I try to go ...
0
votes
1answer
15 views

Changing the search results destination URL

Sorry for the basic question, every Google query I try yields no useful results. How do I change the search results directory in Wordpress? Currently all searches need to be on the root to produce ...
1
vote
1answer
31 views

How to connect two custom post types with nested loops

I have 2 custom post types created: "classes" and "teachers". I have created using Advanced Custom Fields plugin a field for "classes" custom post type, a multiselect that helps me add certain ...
0
votes
0answers
11 views

How to check for dependencies for a specific page and enqueue them

I am creating a one page site where the content of the sections (separate pages) above and under the actual page section are lazy loaded via AJAX. Say in one of the pages a shortcode for a gallery ...
1
vote
0answers
15 views

getting the current sub item out of total sub items in a given dropdown (custom walker)

i would like the possibility to append a text(denoted in square brackets) to each sub-item in the menu like so: Parent 1: sub-item [sub item 1 of 5] sub-item [sub item 2 of 5] sub-item [sub item 3 ...
-1
votes
0answers
10 views

worpdress Custom url rewrting for a post or page

I have website with one post id=103. www.sample.com?p=103 i have hyper links in my itemlist from webservice,not a product of wordpress. I need the url i am already generating on ItemList ...
1
vote
0answers
14 views

Automatically Add New Tags to Sub-menu

Been searching for any related plugins or info. about this case but didn't find anything relevant or working. I need every new tag that is added to a post automatically appear in a menu as a sub-menu ...
2
votes
0answers
19 views

sort by date in Advanced Custom Field

I am trying to filter posts with certain values and sort by the date field using ACF module. I have succeeded in filter with package and type. But when i added date sort, its not working. Please help ...
1
vote
1answer
27 views

How to add a user profile page to frontend?

I am looking in using wordpress for ecommerce by using woocommerce, as a newbie i don't know how to set up a user profile page outside wordpress installation (so the clients don't see the back end ...
0
votes
1answer
48 views

Change the location of add_theme_support( 'custom-header' ) in the customizer

I'm using add_theme_support( 'custom-header' ) to upload images for an image slider. The slider also has other settings in the customizer (duration, fade, overlay color, etc). Because there are ...
0
votes
0answers
10 views

Add field to the search box ¡

Hi I have a custom post type, and I want to add a field to the search form. For example a simple dropdown. I don't find any actions or filters. Anyone knows how can I add this field? Thanks a lot
0
votes
1answer
12 views

Set post tags using tag ID

I want to set post tags to a new value. Is there a way to use the tag ID to do it? The wp_set_post_tags only accepts the tag name or an array of tag names. <?php wp_set_post_tags( $post_ID, $tags, ...
0
votes
1answer
11 views

directorypress theme error mysql_error() [on hold]

I installed directorypress theme to my wordpress site all works fine except this section " my purchase history" its sql error, but I can't deal with I want to remove this error or hide the link " my ...
0
votes
1answer
29 views

Multiple custom post types showing up in edit.php

I'm having a bit of trouble (i think) over custom post types in Wordpress. I have created multiple post types and they all work, but there is this one thing which is bothering me. Lets say I have ...
1
vote
1answer
16 views

Display custom tags on pages that have a specific page parent

I would like to use Using the WP_Query or Query_Posts method. I'm currently using the query_post method. $terms_array = array(); if ($strurl == "somesite.com"){ $resparent = "18219"; //Page ID ...
0
votes
1answer
11 views

Custom post type URL - filter by taxonomy

Created CPT = news uses default categories (IT and recruitment) I am struggling to view an archive of the posts based on their category mysite/news/ - shows all posts for that CPT whatever the ...
0
votes
0answers
16 views

How to prevent shortcode preview from breaking in tinymce editor?

I am creating visual preview for shortcodes (just like captions). I have don't most of the parts but my preview html is getting broke by the editor when post is saved. I have investigate it further ...
0
votes
1answer
19 views

Including some variables in function.php and echo them is several place of theme is not working

I am creating a custom theme based on _S blank theme. I created a php file named aa-config.php with set of variables, then <?php require get_template_directory() . '/inc/aa-config.php'; ?> this ...
1
vote
1answer
11 views

Programmatically (PHP) get the nr. of items in the primary navigation menu

I need to get the nr. of items in the primary navigation menu. I need this to determine the width in percentage of each list item. So I also need to change/add to the css width attribute of the list ...
0
votes
0answers
12 views

Setting up LAMP and Sendmail to enable WordPress emails on localhost [closed]

How to configure LAMP server on localhost to send email using SMPT.

15 30 50 per page