0
votes
1answer
342 views

Notice: Use of undefined constant SECURE_AUTH_COOKIE and LOGGED_IN_COOKIE in pluggable.php

Ok, so to preface this question, I think this error is caused by the plugin I am developing. I actually am trying to create a v2 of the plugin, and every time I try to overwrite the plugin files in ...
-1
votes
0answers
6 views

WORDPRESS Simple Press dialogue boxes closing after 1 second [on hold]

For my wordpress website, I have a forum using the plugin "Simple:Press" (www.simple-press.com) and it's basically just a template integrated forum. However, when I open my 'toolset' (which has ...
0
votes
0answers
2 views

How to add new checkbox option to “Screen Options”

I added extra info block to the comments listing section (/wp-admin/edit-comments.php page). I need to add the checkbox option (like "In Responce To") to Screen Options for toggling the visibility ...
0
votes
0answers
6 views

Send Admin Emails to Multiple Email Addresses

Is there a hook that would allow me to email multiple email addresses for the default admin email notifications? I was hoping I could build an array: $adminEmails = array('me1@example.com', ...
0
votes
0answers
4 views

Updating plugins in 4.0.1 creates directory structure in WP root

I’m experiencing a weird behavior in a WordPress 4.0.1 install that I have never noticed on any other installation: Whenever I try updating a plugin from within the WordPress dashboard, the update ...
0
votes
0answers
4 views

Have non-wordpress page as root (and blog elsewhere)

I'd like to have a custom, non-Wordpress page (totally separate HTML/CSS/etc. files) at www.mywebpage.ca, and then my Wordpress blog only at www.mywebpage.ca/news. Is this possible? (The reason for ...
5
votes
2answers
68 views

Get The Post Type A Taxonomy Is Attached To

Being given a taxonomy or term, is is possible to pull any / all post types the taxonomy is attached to? For example, knowing the built in taxonomy category or being given a term in the category ...
0
votes
1answer
11 views

Shortcode and whitespace formatting problem

I'm having a problem with shortcodes on a website, currently you enter a shortcode in the post edit screen like the following: [tab name=Itinerary] This will output a tab such as: However as ...
0
votes
1answer
663 views

Redirect & permalink problems after moving multisite to a new server

I just moved my subdomain multisite to a new server and I'm having some trouble with permalinks & redirects. One difference post-move is that I have moved core WP files into it's own directory ...
0
votes
0answers
5 views

Fetching array of postmeta with $wpdb and in_array conditional

I'm trying to fetch an array of all entries to a specific meta key and then check to see if the user input value exists in that array. I've checked the data base for the query and I see the meta ...
2
votes
2answers
1k views

Custom Taxonomy in plugin and template

I have a plugin that I am developing that is using custom post types and taxonomies. My question is this. How can I load the content/theme data from my plugin on to the page when the go to the custom ...
0
votes
0answers
7 views

WordPress theme change and deployment using addon domain

A client wants to change their Wordpress theme and have created an addon domain to facilitate this. Their intention is to make the updates on the addon domain and then switch the old domain to the ...
1
vote
2answers
448 views

twentyeleven_content_nav hook no longer outputs navigation link after 3.5 upgrade

After upgrading to 3.5, I discovered that navigation has disappeared outside of the main index page. Theme is TwentyEleven and I've verified that this still occurs after disabling all plugins. ...
0
votes
1answer
10 views

Bootstrap sticky menu in WordPress

I have a menu which I have assigned the affix class using the JS and the data-spy methods but it doesn't work, there are no JS errors in my console (firefox or chrome) and the js and css of BS are at ...
0
votes
0answers
5 views

Video Shortcode Only Returning a Link

I am trying to dynamically load a video in the media library using the built in MediaElement player. To do this, I am using the do_shortcode() function to run the [video] shortcode and build up the ...
0
votes
0answers
3 views

How to display an example of interaction with a program or shell in a terminal window [on hold]

In books where command line interfaces are discussed (like books on the topics of linux, shell usage, SQL, cisco IOS etc), there are often printed examples of a user entering commands to some CLI ...
1
vote
1answer
6 views

Best action to call add_rewrite_rule

In Codex I found that the best action to call add_rewrite_rule is the init action. So in this way the function is called every time the site load. But to save the rule in rewrite_rules option it would ...
0
votes
1answer
1k views

How can I use “getarchives_where” to get monthly archives for static pages?

I would like to get monthly archives for static pages. I tried to use the next code: add_filter('getarchives_where','my_archives_filter'); function my_archives_filter($where_clause) { return "WHERE ...
1
vote
1answer
27 views

No results found from a $wpdb->get_results() query when trying to join more than one meta key query

That title was a real mouthful. I have a custom post type called work with three custom taxonomies called work-client, work-type, and work-service. I'm using Advanced Custom Fields to make a nice ...
0
votes
0answers
15 views

What are all these spam subscribers doing here?

We look after a bunch of WordPress sites none of which run themes which involve public participation. So basically the setting Membership - anyone can register is always turned off. I have just taken ...
1
vote
3answers
198 views

Display the number of published posts for each custom taxonomy term?

I do have a custom taxonomy called "countries". How do I get each term (country) with the number of its published posts in brackets, like the following: Uruguay (3) Chile (5) Thailand (2) etc. ...
0
votes
1answer
337 views

Extract featured image from link mentioned in blog post

You ever notice Google News has relevant images associated with its headlines? How can I use WordPress to extract a featured image from an external webpage referenced in a blog post (or custom ...
0
votes
1answer
32 views

How does the Walker class works?

Can someone explain me how the walker class works and does the methods inside the class always needs to overload the parent method?
0
votes
2answers
28 views

Edit HTML of Wordpress navigation bar

Is there a way to change the html of my wordpress page's navigation bar? (I'd like to add in several divs that will be controlled with media queries.) Thanks for reading!
0
votes
0answers
15 views

showing the posts content inside WP page

i have a problem when i am trying to view the posts content inside a wordpress page when i click on the post title the WP retrieving the Homepage content inside the page of posts
1
vote
2answers
2k views

How do I get the attributes of a short code from a post?

I am trying to preview a NextGen gallery on my main page (and category pages) to show a single image from the gallery on the main page next to the text from the post that normally shows up. I have ...
1
vote
1answer
336 views

non-hierarchical custom taxonomy using checkboxes on edit-screen -> saving issue

I registered a non-hierarchical custom taxonomy ('property_features'). There is a checkbox for every terms of this tax in a custom meta box on the edit-screen. All terms are displayed and all terms ...
0
votes
0answers
8 views

Pass custom post meta to dynamic page

We do lead generation using the gravity forms plugin for our site forms. Right now we create the marketing page with the form on it, then we create a child thank you page that the user is redirected ...
0
votes
0answers
14 views

Return sanitized colors from an array back to options?

I have this code for sanitizing my color options but I have no idea how to return my sanitized colors array back to options? Any thougts? if ( !function_exists( 'sanitize_hex_color' ) ) { ...
-1
votes
3answers
893 views

How to use 'Event Manager Shortcodes' plugin via the php code? [on hold]

I am using Event Manager plugin. I want to use many of the shortcodes via php code. e.g [events_calendar]
0
votes
2answers
2k views

Height and width attribute not setting by the_post_thumbnail

I am using following code to display images in home page: if ( has_post_thumbnail() ) {the_post_thumbnail('postbox-thumb') But the output of the above code does not have height and width of the img ...
0
votes
2answers
572 views

SQL - Pull products of particular category from a remote WordPress woocommerce db

I connected to the db and successfully pulled products data. Now I want to to display products from specific category. The store is using woocommerce. The landing page is in different location so I ...
0
votes
1answer
9 views

sidebar not displaying when using get data

I have a sidebar as a widget which displays correctly on all pages depeneding on the super page id. I am using a custom function to calculate and display the required sidebar. function ...
0
votes
0answers
23 views

Cannot order by in WP_Query

I'm stuck with this issue : I'm having a custom query in which I cannot order by anything. I want to order by a specific meta_value. But event when ordering by name, title, date etc, I still can't. ...
0
votes
1answer
5 views

Double request to current page in webtools [on hold]

This is a really weird thing what I'm facing to. On some wordpress site I'm managing, when I watch the network tab in web developer tools, both on firefox and chrome (not tested on IE), I can see a ...
0
votes
2answers
22 views

Dynamically add content to an existing widget area

I have an existing widget area / sidebar. Rather than adding content to it via Appearance ? Widgets in the Dashboard, I want to inject content into the widget area from functions.php. Is there hook ...
0
votes
1answer
15 views

When post is updated, custom metadata in text area field is overwritten

I have set up 2 new post meta fields in order to add functionality to a custom post type. The custom fields generally work as expected, with a couple exceptions. I set up a checkbox (called ...
0
votes
0answers
20 views

Change default URL of image attachment

I have only one image attachment per post, as featured image. Every post have just one image, featured image, and no any other image in post content. By default URL of image attachment is: ...
0
votes
0answers
15 views

You do not have sufficient permissions to access this admin page

I got a problem with the "You do not have sufficient permissions to access this admin page." after logging into my wordpress, unlike other problems, mine occurred after i logged in my account into my ...
0
votes
0answers
17 views

How to get list of taxonomy slugs ordered parents>childs?

Is there an existing function in WordPress to generate a list of taxonomy slugs ordered by parents > childs > subchilds in an array? I need to generate a URL structure for my custom post type in ...
-1
votes
0answers
14 views

TinyMCE PHP vs jQuery - add media button

My custom post's admin section uses both the built-in PHP and jQuery versions of TinyMCE on the same page. I use the PHP version on static content (using wp_editor) while I have to use the jQuery ...
3
votes
1answer
792 views

Connection lost. Saving has been disabled… (Updating Posts/Pages)

I've been developing for Wordpress for a few years now without any trouble on an old XP/WAMP development server (v1.7.4) but recently have been getting the error "Connection lost. Saving has been ...
1
vote
0answers
19 views

Rendering the uploaded file in a wp.media object

I have seen this question asked a few times on SO and I don't see any responses. I have a wp.media object (upload dialog), that I am using in to store an upload to a post as a meta element. It works ...
0
votes
1answer
17 views

Current user comments + post title

I want to show current user comments with the title of the posts in his custom front-end page that I made. currently I use this code but this only shows the comment itself. add_shortcode ( ...
0
votes
0answers
7 views

Contact Form 7 - Boolean Text [on hold]

I have created a contact form for my site and I want to make two of the fields boolean text fields that will pull from multiple columns of data. Specifically this is for a flight booking system and I ...
0
votes
1answer
330 views

Transfer taxonomy to custom field

I have a blog with movie critics and I'm using many taxonomies to add some informations about the movies, like director, actors or it's year. Using taxonomies is really useful to display all movies ...
0
votes
0answers
6 views

get document title meta using javascript [migrated]

i'm trying to implementing this simple script below, which would display the document title as assigned by wordpress (or an seo plugin) when the browser tab is in focus, and display an altrenate doc ...
0
votes
2answers
27 views

Fetching All Posts (200+) in a Category - Performance Issues?

I want to get the IDs of the 2 previous and 2 next articles in a certain category to show them as a "related videos" playlist. I know that there are the functions previous_post_link and ...
0
votes
1answer
12 views

How can I add a class to a nav menu when I'm viewing a child page?

I'm using bootstrap in my theme, so I have a requirement that I add a class of active to the current nav menu item. I was able to achieve this by using the nav_menu_css_class filter ...
0
votes
1answer
1k views

Show custom menu in category and its posts

I have a category X of posts. The category page and it's individual posts are all part of a custom menu consisting of pages and posts. My submenu, in the sidebar, works fine for showing on the pages, ...

15 30 50 per page