0
votes
0answers
4 views

remove base slug from hierarchical custom post type

I've tried various methods posted here and on stackoverflow and none of them work unfortunately. My CPT is "service_locations" and by default has this structure for main pages: ...
-1
votes
0answers
5 views

Metabox from Video Thumbnail plugin in Front End Post Submission Form

I'm trying to get metabox from Video Thumbnail plugin to my Front End Submission Form. The reason of it, is that the plugin doesn't save the thumbnail from custom field. I was looking for the answer ...
-2
votes
0answers
7 views

Parallax in posts

I am not sure about the definition if it is called parallax or not. I am looking for an option that a post could be with 2 layers one of text and the other with background and it can be switch ...
0
votes
0answers
7 views

Problem with Bootstrap Carousel Integration

HI there i want to show 4 items in one slide of slider it is working but i think i have done lot of hard coding can anyone give me better solution ? here is my code <div ...
0
votes
0answers
4 views

Plugin not localized properly

I am calling the load_plugin_textdomain() function within the init action hook the following way : load_plugin_textdomain( 'my-plugin-domain', false, dirname( plugin_basename( __FILE__ ) ) . ...
0
votes
0answers
9 views

WP Theme Development, Adding Content Areas to Custom Page Template

I am not sure how to ask this, which is why I have been having trouble finding anything via google searches. I am hoping someone here will understand what I am looking for and be able to direct me to ...
0
votes
0answers
8 views

Add posts of a certain category to a page

I have posts with a certain category(Blog Posts) and I would like to add these to a certain page(Blog). What can I do to add my category to a certain page? I really appreciate your help!
0
votes
0answers
4 views

wp_nav_menu_items - mobile problem

I'm using the wp_nav_menu_items filter hook to add a subnav to the main navigation for this site: http://www.newspebbles.com It uses a child theme for 2013 function new_nav_menu_items($items) { ...
0
votes
0answers
4 views

Why does has_nav_menu return false when get_registered_nav_menus shows the opposite?

I'm working on a new theme to replace an old one. The existing theme has custom menus and I can't figure out why in my new theme a call to has_nav_menu is always coming back false. In my ...
0
votes
0answers
4 views

How activate custom plugin in WordPress on virtual box “host only adapter” and no internet connection?

I'm running WordPress in Virtual Box CentOS 6.5 on a laptop without an internet connection. I am able to get the CMS in a web browser by running the virtual box using a "host only adapter". However, ...
0
votes
0answers
12 views

issues with templates

I'm working on a wordpress theme and I'm having issues with the page templates. I'm trying to do the following. I have a static front page, one custom post type and single "pages" that are ...
-2
votes
1answer
6 views

woocommerce-how can i get all products by their groups! [on hold]

i have a wordpress site that uses woocommerce as an online shop plugin. what is want is listing all products in my woocommerce site grouped by their categories, how can i do this? i want the list ...
1
vote
0answers
10 views

How to generate a list of all urls

I'd like to display a list of all Urls of my Wordprees site. I print out a list of all taxonomy terms like this : <?php // Get all Post $html = '<h2>Articles</h2>'; ...
0
votes
0answers
12 views

Input get deleted/overwrite after changing to different Admin Menu

After i have added a plugin in menu and put some input to be saved in database everything work fine and get saved, even if i refresh the current page. but once i go to other menus item in Wordpress ...
0
votes
0answers
5 views

Wordpress Plugin Authenticate With Facebook WIth No AppID

I am working on my first wordpress plugin and posting to facebook. I have been looking for the last few days for ways to authenticate with facebook. I have found numerous sites that use the method of ...
0
votes
0answers
10 views

Is it possible to fetch most views from items outside the loop by class or similar?

I have a site where I fetch videos using an rss plugin. The feed items are stored in a Custom Post Type and I call them in with a short code. Is it possible to filter those embeds somehow by most ...
-2
votes
0answers
17 views

How to add single post inside single post

I am designing a theme for online video course like tuts+. But I do not understand how they designed their single post page when we click on each lesson that is opening the next single video page. ...
0
votes
0answers
7 views

WP_Query and search by post_type using “s” param and relevanssi_do_query

I need to SEARCH by custom post_type and keyword, but I can't get results :'( $args = array('post_type' => array('games_searches'), 'posts_per_page' => 10, 's'=>'a'); $loop = new WP_Query( ...
1
vote
0answers
10 views

Page template no longer exists - metaboxes won't save

Ok, this is a weird one. I first experienced this on an older theme that I developed - I assumed I had some buggy code in there somewhere, but couldn't figure it out even with the help of another ...
0
votes
1answer
14 views

Parse an Array of JS Objects using JSON and AJAX

I have an array of Javascript objects, which I convert to a string using JSON.stringify() before processing with AJAX. On the server side, all I am trying to do is verify that the proper ...
0
votes
1answer
16 views

How to create archive for all categories

all my posts belong to categories. There're at least 30 categories and sub-categories with 10 or more posts per category. When opening mysite.com/category/subcategory only the latest 3 posts are ...
-1
votes
3answers
27 views

WP Query outputs three items within a div

At present I have a basic query that outputs 12 custom posts, each in a div. I need to restructure this to output four divs, each with three of these items inside. So it's sort of like a nested div. ...
0
votes
0answers
7 views

register_activation_hook on multisite

I am working on creating a plugin for a multisite wordpress framework that is enabled by default for all. When it activates it is required to create 2 tables where it will store some precedural ...
-3
votes
0answers
24 views

Site got hacked twice and I believe it's the server [on hold]

By hacking I mean cracking. I've had two attacks since last week. Last week someone was able to change the title and tagline of the website, yesterday someone was able to insert malicious code into ...
0
votes
1answer
10 views

Edit specific text on a static page

I'm kinda stuck with my Wordpress development. I must say, I'm a noob at this right now but trying to get more knowledge of this. In Wordpress admin, there is this text editor for editing the content ...
0
votes
2answers
12 views

Filter custom post types by custom field using AJAX

I have a few custom post types (books, films etc) created with WP-Types. I then have a custom field called Genre, created with ACF. If a user selects "Books" from the dropdown on the frontpage, he ...
0
votes
1answer
19 views

Displaying One Custom Post Type's Content On Single Post of Another Custom Post Type

I'm currently building a college football blog and I have 2 custom post types: conference and team. Each conference post type will be a horizontal list consisting of each teams' logo and will be ...
0
votes
2answers
17 views

Can a Wordpress blog be entirely hosted on a CDN if cached?

I am developing a Wordpress blog for a client who believes that more than 1m pageviews will be served every month. Unfortunately his server resources are very limited so I was thinking of hosting the ...
1
vote
0answers
16 views

Wordpress multisite change language

I want to change site language through cookies. As I have multisite, so define('WPLANG') is not working in wp-config.php. So I added hook to filter "locale". But still not working... What to do ? ...
0
votes
0answers
15 views

Change password from admin panel

while updating password from admin panel of wordpress dashboard, I am facing this unique issue. when I am typing password which is very weak, and updating it. I am getting message, profile updated ...
0
votes
2answers
40 views

Determing number the query ran by core wordpress

I wanted to find out, how many queries does wordpress core run, and how many queries the theme run. Is there any way to get they number of both of them separately ? As i run `echo get_num_queries(); ...
-1
votes
0answers
9 views

3 Step registration Process in Wordpress

I Developed my site with wordpress 3.9.2 and now i want to Implement User Sign up and profile in my website. I would like to create a 3 step registration. For example: I would like to set up a ...
0
votes
1answer
20 views

How to retrieve the date on which a post was moved to trash?

I need to retrieve a list of posts that are in trash based on the date on which they were trashed. The following code allows me to retrieve posts that are in trash, but how to filter them by date? ...
0
votes
1answer
11 views

PHP form is not sending mail if I use mime type and version in header. How to solve this? [on hold]

If I use the following code, then the form works fine and I am getting form submissions to my email. <?php if($_POST["submit"]) { $recipient="meemail@gmail.com"; $subject="New request"; ...
0
votes
0answers
8 views

woocommerce.php doesn't load after login [on hold]

I am using WooCommerce 2.1.12 and WordPress 3.9.2 I created my custom theme from scratch, but I found that woocommerce.php doesn't get called & loaded after login, in single product page. Why? ...
0
votes
0answers
11 views

WordPress trims an encrypted field

Problem is that when I try to insert a new post into WordPress, the password (encrypted, see code below) is cut. For example: encrypted Ivt9=f:;itKun+TiIarze-GyX5Rt is only Ivt in WordPress. ...
0
votes
0answers
13 views

how to display the repeatable meta field value in front end?

I would like to display my all meta field value in template file but i have no idea on displaying repeatable meta field value would anybody please help me.. My code is .. <?php /** * Plugin Name: ...
-2
votes
0answers
7 views

Need WordPress Live Chat Plugin [on hold]

I have WordPress powered website where I want to put live chat option for interaction with online visitor. I searched many chat software but still can't be choose. So kindly tell me Which live chat ...
0
votes
0answers
8 views

Exporting a portfolio with pictures

I wonder if a kind soul could help, as I'm going crazy here. I just recently started using Wordpress, and created a website where I have a lot of portfolios. The images in the portfolios have been ...
0
votes
1answer
22 views

Display pages in alphabetical order

I think I am missing something in my functions.php because my pages in the admin are displayed randomly. How can you display the pages in admin alphabetically? Thanks!
0
votes
0answers
8 views

Multisite permalinks for subfolder wordpress installation

I have WordPress installed in a subfolder of the main site: http://www.example.com/blog/ Now I need to add second blog on http://www.example.com/blog/second/ So 2 blogs should work on the following ...
0
votes
0answers
7 views

Fixed top-level menu

I'm developing a site which has around 10 top-level pages in the menu and each have 4-5 child pages in the sub-menus. I am giving the site users the "Editor" role which I have customised using a ...
0
votes
1answer
11 views

How to cancle update messages from a changed plugin

I did many changes on an plugin which was allowed to be manipulated. Now I want to be sure, that an update will not overwrite all my changes. What can I do to prohibit it from updating (or showing ...
0
votes
0answers
14 views

Complicated site setup; previews not working

I have a site which is hosted on a linux box (blog.example.com). I have a main site which is on a separate windows IIS box using the domain www.example.com. I have an IIS rewrite rule which rewrites ...
2
votes
1answer
8 views

WP-Admin edit.php & post.php slowdown after import of 10k users

Situation: Clean wordpress install No plugins VPS server 5.2ghz / 4gb RAM (Default Directadmin) Import of 10k users Problem: WP-Admin edit.php and post.php take >4sec to load. A custom post ...
0
votes
1answer
18 views

Add category attribute to custom recent post shortcode

I have a recent post shortcode to display a custom post. Everything works fine so far. However, I would like to add a category attribute so I can specify which category to display. My working code is ...
0
votes
0answers
17 views

Backstretch.js and thumbnail sizes to reduce loading time

I am using backstretch.js to set a featured image as a full size background image I would like to combine this approach with different thumbnail sizes in order to reduce loading time on mobile ...
0
votes
2answers
48 views

How to use “excerpt_more” filter for a specific post type?

I have added an excerpt_more filter in the theme's functions.php, and in a plugin function. Here is the code for the theme: function theme_excerpt_more( $more ) { return '...'; } ...
0
votes
0answers
12 views

wordpress page is broken when trying to connect to facebook php SDK

I have a strange issue when trying to connect to Facebook php SDK from my WordPress site. I have followed all instructions as shown on Facebook developers and other sites - I have an app on Facebook ...
0
votes
1answer
16 views

Redirect year month day postname permalink structure to category postname structure

I have a Wordpress site with a /%year%/%monthnum%/%day%/%postname%/ permalink structure, and now the client wants it changed to /%category%/%postname%/. How do I do a generic redirect for the old ...

15 30 50 per page