1
vote
1answer
6 views

How to add a post or page tag to the list of classes appearing in the body tag's class attribute?

Good day, Perhaps you are willing to help out a php-beginner. I'm trying to add a post or page tag to the list of classes appearing in the body tag's class attribute. These classes are printed onto ...
0
votes
0answers
6 views

List Categories into Registration Form and assign to user automatically

I'm using a wordpress plugin "WPCourses Pro" http://goo.gl/YaIp3K. Free version is here https://wordpress.org/plugins/wpcourses/ The plugin has taxonomy=category_course and post_type=courses Selling ...
0
votes
1answer
12 views

Custom post types archive

I'm developing my first custom theme from scratch (using Roots as base framework). The theme has 2 CPT, one for events and one for associations with a correlation one to many between the two (an ...
0
votes
1answer
3 views

post_id missing from the wp-admin file upload request

I'm trying to upload an attachment using the "Add Media" button placed right above the editor. The request goes to the wp-admin/async-upload.php file. I can put a var_dump($_REQUEST); call there. ...
0
votes
0answers
4 views

is_user_logged_in() not working after domain change

I am relatively new to Wordpress and I recently moved a WordPress website from one domain to another. I went through and fixed all the links and references that I could find. Now my website has all of ...
1
vote
2answers
59 views

Do I need “wordpress hosting” to host wordpress?

I am a beginning wordpress user and am unsure about wordpress hosting. Some hosting sites (for example, Godaddy) have hosting plans and then they have wordpress hosting plans. do I need the special ...
-1
votes
0answers
11 views

Some thing wrong with facebook sharing script [on hold]

Please help me this is the code in which i want to embed the facebook sharing script. <a href=""><i class="fa fa-facebook fa-2x"></i></a> this is how i am embedding it ...
0
votes
1answer
11 views

Display 2nd category, only once, as sub-heading, in the loop

I have a Custom Post Type ("Rental"). I am using the code from this article I found to display Rental custom posts on a page, with the Categories of a custom Taxonomy ("Region") as headings between ...
0
votes
0answers
8 views

WordPress Backup restoration using XAMMP [on hold]

I need help how to restore a WordPress backup files to my localhost using xammp?
-1
votes
0answers
7 views

Javascript Content Height issue in wordpress

I have inserted a java script in to the html editor of Wordpress using custom fields. While viewing the page, the content of the javascript is blocked by the footer of the page. How could I make the ...
-1
votes
0answers
4 views

error u must be login to edit your profile .subsriber can login through wp-login but not through the frontend

hello i have my site on wordpress hosted on godaddy . after i change my url and changing the role and cappability through role editor and adminisize subsriber is not able to login through front ...
1
vote
1answer
16 views

Parallax WordPress theme without hardcoding - possible?

I want to develop my first Parallax WordPress theme, just for the fun of learning this stuff. I found this snippet: http://jsfiddle.net/cse_tushar/Dxtyu/141/ It lets the user click on a menu item ...
0
votes
0answers
4 views

tinymce 4 load plugin from external directory

I am testing loading an external plugin in jQuery tinyMCE with wordpress 4.0 thanks to this thread. If I put the plugin in a folder within the tinymce plugins directory it finds it just fine. ...
-1
votes
0answers
6 views

WooCommerce - Show the price of an product on other sites

i want to create a Landingpage with a specific template page and need the actual/old price of a specific product there. How can i do that? And it would be great if i can change the ProductID with a ...
0
votes
1answer
8 views

Open Media Uploader Link in single post or page

I want to open the media Upload Window like in a single post or page. It is important for me, to have that menu on top, which filters the media Library: This is my current code, which allows only ...
0
votes
1answer
9 views

Related Posts by taxonomy using Advance Custom Fields Plugin

I’m trying to list related posts using taxonomy with the Advance Custom Fields plugin. I’m using the following code below from the docs that links to all the posts in the taxonomy, but is it possible ...
0
votes
1answer
18 views

Trying to update robots.txt

I have installed and activaded the WP Robots txt plugin. Then I have gone to wp-admin/options-reading.php I have pasted a new robotst.txt content and Save it. But I can not see the new content at ...
1
vote
2answers
14 views

Custom post status not working

I'm trying to create two custom post status'. I used the Codex to generate the code and that didn't work. Then I went to http://generatewp.com/post-status and it didn't work either. It isn't showing ...
0
votes
1answer
14 views

Multiple instances of the shortcode on the same page

I have this shortcode: function fm_requestebook ($atts) { $atts = shortcode_atts(array( 'cf7' => null, 'filename' => null, 'event' ...
5
votes
1answer
30 views

Automatically delete inactive users after 2 months

I am trying to modify this function: // automatically delete users after 7 days in wordpress function wcs_auto_delete_users() { global $wpdb; $query = $wpdb->prepare( "SELECT ID FROM ...
0
votes
1answer
16 views

Wordpress as a frontend website for iOS app

I am developing a product for a local gym. The product comes in 2 parts : - a smartphone app used by the client - a website used by the coach The coach uses the website to prepare the workout. So ...
0
votes
0answers
9 views

Custom Post Type with Rewrite Rule and Paging

I am running WordPress 4.0 and I have created a custom post type called events-to-see which is a post. I wanted to get the events to display with the following url structure ...
-2
votes
0answers
12 views

Arrows in slide show

1) When I have logged in to my blog, I arrive at the Dashboard. There is a button there called Home. When I click this button, I once again arrive at the Dashboard. I also arrive at the Dashboard when ...
0
votes
2answers
14 views

Get the ID of category page with or without any posts

Is there a better way to get the category ID that may or may not have any posts assigned to it? Currently im using the following code that resorts to parsing the page url, and getting the category ID ...
0
votes
0answers
4 views

jquery tinymce and bundled wp plugins

So I managed to get dynamically generated versions of jquery tinymce to work in wordpress and work with the bundled wplink js plugin - albeit pretty badly hacked together. Was wondering if anyone has ...
0
votes
1answer
28 views

Creating a simple pagination for custom post type templates

I have custom post post type call 'news' and I am struggling to get it to paginate correctly. I'm looking for a simple prev and next links, not worried about page numbers in the middle. In ...
0
votes
0answers
8 views

Shouldn't my Bootstrap theme's image be responsive? [migrated]

I built a custom WordPress theme with Twitter Bootstrap 3. I followed along with the course on the site called Team Treehouse. I know Bootstrap is a responsive framework but for some reason the images ...
0
votes
0answers
20 views

Multiple thumbnails

I'm trying to create a new field in the post editor, where you can add a unlimited number of images(ala the featured image field). After searching the www for days, the only thing I've found is this. ...
0
votes
1answer
17 views

How to remove Wordpress' Jetpack plugin completely?

I had Wordpress' Jetpack installed but I want to completely remove it from my page. I deactivated the plugin and clicked on Delete in the WP Dashboard. The files are deleted now, but in the database ...
2
votes
1answer
20 views

How to add more than one RSS Feed Link for wordpress

I'm using code to change Rss Feed Link for my wordpress site, it's working but I don't know how to add more than one rss link appear when someone click on browser Rss Icon, I need these links to ...
0
votes
1answer
24 views

Create Array from data in the OPTIONS table

Good Day everyone, I'm trying to create an array from data in the Options table of wordpress. My data all start the same way plugin_order_ and then name of the field information. Is there a way to ...
1
vote
1answer
19 views

How To Get WordPress Categories Link List?

I am trying to make a custom sitemap for my WordPress blogs categories. For that I added the below code in my functions.php file and when I save it, my Blog goes white. Nothing is showing up. I ...
1
vote
2answers
15 views

How can the user place a custom text string as a placeholder for a plugin

ex: like a user adds {{my-new-plugin}} somewhere in their post, the plugin will read it and add arbitrary text. I just need help finding the name for this. I can't find this the proper words to put ...
0
votes
1answer
11 views

If orderby parameter using pre_get_posts is the same for multiple posts what fallback does the query use?

So I have 3 custom post types that I want to order by menu_order & have 'date' as the fallback parameter as the majority of posts will have the default menu order of '0'. It would be nice if ...
0
votes
1answer
17 views

Warn user that data may be lost for custom pages

When you edit a builtin field in Wordpress like the title and don't save the cahnges, and attempt to go to another link, a warning alert box comes up stating that "changes may be lost if you navigate ...
-1
votes
0answers
14 views

Override core WooCommerce function [on hold]

I am using WooCommerce, and I have a custom order status to which all new orders are assigned (instead of the default "Processing" status). The WooCommerce admin menu shows a helpful tip showing how ...
0
votes
1answer
33 views

Function/Class to list categories with checkboxes

I want a list like in the pictue; witch is here - Posts->New->Select Categories At the moment i have this echo '<select name="pn-cats[]" size="8" style="width: 100%" multiple>'; $args = ...
0
votes
0answers
13 views

How to change the order of the comment_form fields with css?

I would like to have the comment form display, from top to bottom: 1- the comment-form-comment; 2 - the comment-form-url; 3 - the comment-form-email; 4 - the comment-form-author; 5 - the submit ...
0
votes
1answer
47 views

Related content based on category name

I'd like to modify the code below so it grabs the data based on the category the post is in and 'only' that category, not children categories, not other categories, only the category of the current ...
1
vote
1answer
28 views

Can you have more than one nonce on a page?

I have a site with a page where there's one form in the sidebar, and one in the main body of the page. The sidebar comes first in the HTML. Both forms have their own nonces (generated with ...
1
vote
1answer
90 views

Does is_user_logged_in() block search bots?

I want to use is_user_logged_in() in my home page so users that are not logged in see a sign up page. I want to know if this function blocks search engine bots from crawling the content inside ...
0
votes
2answers
9 views

Access the resized images generated by `add_image_size()`

I have set up some shortcodes to make things simpler for the user. It wraps up some bootstrap markup and just lets you put the h1, some img urls, etc in it without getting too close to the markup. ...
0
votes
1answer
16 views

How can I remove the Static Front Page option from the Customizer

In Wordpress 4.1's Theme Customizer there's a Static Front Page option. I've set up my theme to have a custom front page (via front-page.php in the theme) so I don't want this option to be available ...
1
vote
1answer
14 views

Get a List of All Commenters on the Current Post

I'm trying to get a list of everyone who's commented on a post, and then check that list against the current logged in user. If the current logged in user is included in that list, then I don't show ...
2
votes
1answer
30 views

How to do a query on custom taxonomies that is uncategorised?

I have a custom taxonomy and I wish to do a query for all custom posts who has no value assigned for that taxonomy (i.e. uncategorised). This is what I have so far: $uncatQuery = new WP_Query( ...
0
votes
0answers
23 views

Changed permalink option and get server error

I made a mistake and chose the "Custom Structure" permalink setting, leaving the custom field empty and clicking Save. Now I have a "500 - internal server error" on my website. I didn't have a ...
-1
votes
0answers
15 views

contact form 7 send custom variable to form

My use case is very simple. I have a bunch of books on my site and close to each one there is a button to pop up a "Request Info" contact form to fill. I'd like that when the user clicks on "Request ...
0
votes
0answers
17 views

Post gallery as carousel

So I have this idea in mind: I would like to create custom page template, and whenever in post gallery is between tags, for example: Lorem ipsum somethinginkgsd.... [carousel] Gallery here ...
0
votes
0answers
7 views

Sudden Sharepress error posting in facebook [on hold]

Last WP version, up-to-date plugins. I use sharepress plugin to automatically post new entries to some facebook pages. Suddenly I started to get this error I receive by email and it is in log flie ...
0
votes
0answers
23 views

Save multiple custom post fields from quick edit

Context: A multiple custom posts and custom fields website. Since the website is rather complex, has a lot of users, a lot of editors and a lot of data, they asked to be able to choose which custom ...

15 30 50 per page