0
votes
1answer
3 views

infinite scroll not working when logged out

The problem: infinite loop works only when the user is logged and then it shows posts that were not published yet. Once I log out, the infinite scroll doesn't work anymore. The setup: I have the ...
0
votes
1answer
6 views

Insert Google authorship into WordPress header

I'm working on a custom plugin that creates courses and lessons within WordPress. Here's the page I'm trying to get Google authorship showing in: → ...
0
votes
0answers
4 views

Using radio button meta data from a custom meta box

Very new to attempting PHP and am hacking together my first plugin using tutorials.. I have a custom meta box with a Yes/No radio button on all WordPress pages (in the editor). function ...
0
votes
1answer
6 views

Adding an onchange event to a custom dropdown menu in Wordpress

I would like to add an onchange event to a dropdown menu I've created via my Wordpress plugin. As this is my first foray into Wordpress development, and the company I work for has a tall order for ...
0
votes
1answer
16 views

How to diplay a div only if at least one author custom profile field is filled?

I try to build a small plugin that adds few social profile fields to WordPress user form and display their social icons to the author meta box on single post. The problem I face is as follow: The ...
-1
votes
1answer
11 views

User agent stylesheet distorting site [on hold]

I am creating my first wordpress site from its html version. My html site is quite simple and seems to be looking correct in popular browsers. You can see it now at k-gayduk.ru. In my every day life I ...
-1
votes
0answers
13 views

Strange space/distance between posts looped on index.php [on hold]

I may be a little bit tired. I'm having difficulties discovering what causes the distance/spacing inside my loop of posts from the main index page. The first post (at the bottom) is distanced from ...
-2
votes
0answers
8 views

Woocommerce: create a page to list the author's products [on hold]

I want to list products by author and show all author just like a portfolio of the author how can i do it? thanks
0
votes
1answer
11 views

Problems with plugin that fetches data from database with ajax

I have the following code that works when I run it on a local (non wordpress) website. But I cant get it to working in a plugin. It is my first plugin. <?php /* Plugin Name: Wordpress Plugin Stijn ...
-3
votes
0answers
5 views

getting error update insert multisite post and page [on hold]

Check This Link please getting error update insert multisite post and page
0
votes
3answers
28 views

Insert custom postmeta when custom post type published

I'm trying to populate the postmeta table with a custom value when a custom type ('my-solutions') is published. I've read a few threads, the Codex and Pippin's blog on this matter and tried many ...
0
votes
1answer
12 views

Changing plugin options from theme functions file?

I am making a starting-point Wordpress theme that will be used on dev projects. In this theme, I am automating common plugin installs that are used on every project. I have been able to automate ...
2
votes
1answer
17 views

Filter Media Library by author or post_parent

I am trying to filter the Media Library so only media items that are uploaded by the current user OR children of the post being edited are visible. I've had no problem doing it if the conditions are ...
0
votes
1answer
13 views

Items By Group added to custom post type

Ok, not real sure how to explain this. But i have an existing custom post type with some custom fields that is working fine for detailed information about an event. what i am trying to do now is to ...
2
votes
1answer
15 views

Is there a way for a plugin to add an attribute to the <html> tag of a theme?

I'm currently working on an appcache plugin for WordPress. One thing that it should do is add a manifest reference in the <html> tag of the site. It has to resemble something like this: ...
0
votes
1answer
10 views

Plain image uploading - no links, no classes, no sizes

When I upload a photo into the post it turns out like this <img src="http://localhost:8888/mg/wp-content/uploads/2014/04/sc5.jpg" alt="" width="240" height="240" class="alignnone size-full ...
1
vote
1answer
9 views

“wp_editor” not displaying TinyMCE correctly when square brackets used in name

I'm creating a custom options page and I have a textarea that I've turned into a TinyMCE editor using wp_editor. TinyMCE displays correctly, however it breaks when I include square brackets in the ...
0
votes
1answer
11 views

Use a custom post URL that is outside the blog root directory

I have a website blog and its URL is: www.website.com/blog The above is fine and I want it to stay that way. www.website.com is the main site, which is not a blog. Currently, the URL structure for ...
0
votes
1answer
20 views

Complicated MySQL Query

I'm trying to build a directory of members that has some search options at the top. Each member has several custom fields as well (using Advanced Custom Fields). Would like to have a single query ...
-1
votes
0answers
7 views

Wordpress Complex User Registration Plugin [on hold]

I'm new in Wordpress and I am looking for a complex user registration & profile editing plugin, which: 1) have security features (captha, ciphered passwords...) 2) it is possible to create ...
0
votes
1answer
11 views

Get child terms of current term of the current post

I have custom post type "product" and taxonomy is "product_cat". There are two child terms -Music and videos. Under Music i have two more child terms albums and single. Now when i go to music category ...
0
votes
0answers
16 views

Menu of the Day?

I would like to show on a specific page a menu of the day, as well as a month calendar with the foods for each day listed. My current setup uses a plugin(Role Scoper) with some changes of my own to ...
0
votes
0answers
17 views

update user meta with multidimensional associative array

I am trying to: If a key exists If inner key exists Update value Else, Create key and populate with value Else, Create key and populate with value(inner array) ...
-2
votes
0answers
11 views

How to remove the forum tab from Buddypress group navigation [on hold]

I'm trying to remove the forum tab from Buddypress group navigation - unfortunately without success. Here's what I've tried so far: function remove_bp_groups_forums_nav () { ...
0
votes
0answers
7 views

How to creat form with get method and receive it

I want to put a form in a page on my wordpress (in local). I have this form code : <form method="get" action=""> <h3>XML name :</h3> <input type="text" name="xml_id" ...
0
votes
1answer
16 views

if conditional in sidebar plugin Password content shortcode

I have this code [][/] on page and work perfectly! so i want now if i can in sidebar check if the form is properly completed on the page and then will echo some word in sidebar. for example something ...
0
votes
0answers
6 views

SP initiated login using SAML 2.0 Single Sign On

I am trying to configure SP initiated SSO using SAML 2.0 Single sign on plugin. All the steps are configured but when user clicks on login link in WordPress site the SAMl request goes to ADFS server ...
0
votes
1answer
12 views

Set a variable to using in redirected page

I need to set a global variable that will be used in the page set on wp_redirect global $open; $open = FALSE; function open_menu($user_login) { global $open; $open = TRUE; ...
0
votes
0answers
25 views

echo stops after some lines [on hold]

I use WP to manage a system. In one scenario, the system gets data from the DB and generates an HTML using lots of echo lines (PHP). I debugged the HTML , section by section, and could see the output ...
0
votes
1answer
21 views

Folder Name and Category Name Wordpress

I have URLs that need have the old URL for download files. Before, it has 2 separate website. The MAIN and the PORTAL website. http://www.website.org http://www.website.org/portal I want both ...
1
vote
1answer
18 views

How to get media objects

I am busy with a loop to return all media in the medialibrary in objects. I figured out how to get the images ( with wp_get_attachment_image('$mediaID') where the $mediaID is the id of the image ) ...
0
votes
0answers
19 views

post__in not working with pre_get_posts, but post__not_in does work

I have an action setup on pre_get_posts which I would like to use post__in on. I used the following code as a test: $query->set('post__not_in', array(74485,1528,71460)); This works, the total ...
0
votes
0answers
10 views

How to display the post of child custom taxonomy but not that post in parent?

I want the archive page of custom page having custom post type in order with custom taxonomy. like -parent1_taxonomy -child1_taxonomy -child1_taxonomy_post1 -child1_taxonomy_post2 ...
0
votes
1answer
16 views

Where is the order of a menu saved in the database

I want to use a custom menu from the wordpress database but I get the elements disordered and I want them to have the same order how can i do that? There is a place in the database where the order is ...
0
votes
1answer
17 views

Cant update my site! [on hold]

I have been trying to update my wordpress site for the last godknows how long (to 3.91 now!) and several plugins will not update either. I am being hosted through yahoo small business but they won't ...
0
votes
0answers
16 views

ACF relationship field posts capacity [on hold]

I’m trying to build a email newsletter plugin using ACF. I have 2 custom post types: email and and email templates. One email can contain multiple email templates. I’m using the relationship field on ...
0
votes
1answer
24 views

Root level category, tag, author and archive pages to work

I want root level Wordpress urls to work for category, tag, author and archive page. For example right now categories pages are. domain.com/category/cat-name/ it shows posts under cat-name ...
-1
votes
2answers
39 views

Title displaying multiple times

I'm facing a problem where my title is being displayed multiple times. Using the following code the page title 'News' is displayed 10 times, the same number as the number of posts I've elected to ...
0
votes
0answers
17 views

Comment Moderation / Profanity filter

I'm using bbPress to create a forum. I need to use content moderation or a profanity filter. I don't want to moderate every post before it's posted just those that contain words that are in the list ...
0
votes
0answers
16 views

Can't save draft post

I have a WordPress site moved to Azure web site + Azure SQL using database abstraction plugin After that migration I'm not able to create new posts. When I click Save Draft it redirects me to the ...
-2
votes
0answers
19 views

get a data from ATM Machine [on hold]

I need to get a data from specific ATM machine to wordpress database. ATM machine service providers told me to give them Gateway URL and Request format to send data. Can you help me with this please? ...
-1
votes
0answers
11 views

Xml transform plugin [on hold]

I need a plugin that converts the node names as I want and maybe and moving and adding attributes to the xml. Does anyone know a plugin that will help me?Tell me if there isn't so I can start it to ...
0
votes
0answers
16 views

WP_Query, How to identify if the offset reached the max posts count

I'm doing a custom WP_query to populate my post list via AJAX with some filters. I load additional posts once the user click the 'Load More' button, this fires the $.ajax and on success adds the new ...
0
votes
0answers
6 views

Custom post type plugin archive page doesn't work?

Hi i am creating a custom post type plugin. In that i have added a custom archive template and single page template. The single page template works fine whereas archive template is not working. ...
0
votes
1answer
22 views

Are post, page and category IDs unique to each other?

I was looking for a function to get all ancestors of a post or category and found get_ancestors( $object_id, $object_type ). To my surprise, the Codex shows that the second parameter is required: ...
-1
votes
0answers
6 views

Advanced Custom Fields Configuration files & Repeaters [on hold]

I'm using advanced custom fields for a few elements on this site i'm working on. One main component - I'm using a few repeaters to provide a sidebar navigation creator. With that element, I am also ...
0
votes
1answer
12 views

How to add custom field to wordpress page everytime user uploads new image in WP visual editor?

I have been hunting in GOOGLE for a long time. I want to add custom field whenever user uploads new image in page or post. Is there any hooks or filters that can be used to detect new image upload in ...
0
votes
0answers
25 views

Wordpress plugin admin page breaking

I am developing one file uploading plugin for my wordpress site to upload posts along with taxonomy and post meta data. Functionality wise it is working fine but when file uploading is finishing ...
1
vote
1answer
14 views

Open posts in editor in the 'Text' mode by default

I have a few posts where there are some code segments. When I try to make small edits in the post, it opens in the 'Visual' mode and all the non-alphanumeric characters (e.g. >) are converted to ...
0
votes
2answers
25 views

Exclude one category from get_the_term_list

I want to exclude one of the categories from my posts, which will always be the same, named "documentaires" and with the ID 20. Here is the code : <?php echo get_the_term_list( get_the_ID(), ...

15 30 50 per page