0
votes
4answers
486 views

Exclude subcategories from the url

We have a site with categories and subcategories. If anybody navigates to a content belongs to a subcategory the url will have the following form: domain/main-category/sub-category/mycontent/ But we ...
0
votes
1answer
13 views

Why is this $wpdb query looping 5 times?

I want to only return one value for this query, it's in my functions.php file. The idea is to return a value that I need once post_meta has been updated. It's returning the same (correct) value 5 ...
0
votes
0answers
5 views

Query custom post type with tags

I created a custom post type named portfolio, and am trying to create a query to get similar posts from the portfolio post type based on if it has at least 1 similar tag. For some reason this code ...
0
votes
2answers
585 views

WP Query - duplicated posts once including tags in search results

I running WordPress on IIS & SQL server. As some of the plugins do not work correctly with DB ABSTRACTION I am using a lot of functions.php filters as so on. To make my search results include ...
0
votes
0answers
5 views

Search and replace post URL's on page output?

Currently, I'm using pretty permalinks for SEO purposes like this: http://example.com/sample-post. This is great for search engine ranking, but now I am finding this is not so great for mobile app ...
0
votes
0answers
2 views

How to display posts in a loop for bootstrap framework in wordpress

I am trying to integrate posts in a loop for bootstrap framework in wordpress here the code i used <div class="row"> <?php if(have_posts()):while(have_posts()):the_post();?> ?> ...
1
vote
1answer
16 views

How to remove (or block access to) the about.php and credits.php in WP Dashboard

For a site I am developing there cannot be any other http requests than from the site itself. Both the about.php and the credits.php page in the Dashboard pull their data from external URLs (for ...
0
votes
0answers
14 views

File Away plugin problems

Plugin: File Away Problem: Rename function modifies more files then it should when accessed: I've asked this on the plugin's support page, but haven't heard back from the developer after two ...
0
votes
0answers
3 views

Add notice to checkout page if product from category

I would like to add a notice to the checkout page, before the checkout form, when there is a product from the category "sello" and print or show: Para los purificadores Sello de Oro, favor de ...
3
votes
3answers
168 views
+100

Convert a WordPress tree-like structure into a multidimensional array

Is there any way to grab the nav menu items as a multidimensional array instead of a flat array? By a tree-like structure I mean something that would preserve relationship between child and parent ...
1
vote
2answers
983 views

Display posts from Custom Post Type in category page on front-end

I created my Custom Post Type (bizdirectory), created a new post (Test Business) and created a new category (Business Directory). But if I add the Business Directory category (slug = business) to my ...
2
votes
1answer
581 views

WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)

I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php I've been looking at the core code and noticed that most login ...
0
votes
0answers
12 views

Are immediately-called actions not usable in themes?

If there is a filter or action called immediately in a plugin file (not on 'init' or 'wp' action etc.), is it at all possible for a theme to filter it? Looking through wp-setting.php I would assume ...
0
votes
0answers
13 views

Problems with image size on the server Wordpress

I have a problem and do not know how to solve it 've tried everything and nothing ! I have a theme that uses 3 different images to the highlighted image , I'm using add_image_size to generate these ...
1
vote
1answer
897 views

404 - Category pagination for custom post type

--Edit I've managed to narrow it down that the paged variable is not working properly here, (get_query_var('paged')) ? get_query_var('paged') : 1; is always returning 0 although maybe it is due to ...
5
votes
2answers
447 views

Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?

Essentially I'm trying to add multiple sub nav menus and I'm pretty close but I just can't seem to find the right tack to solve my problem ... I'm using a variation of a Stu Nichols CSS Menu ... ...
0
votes
0answers
14 views

Dynamically create shortcodes using add_shortcode and a callback

In the example below, $shortcodes is a multidimensional array with shortcode data. foreach( $shortcodes as $shortcode ) { // Here we have the shortcode name, could be 'custom_person_john'. ...
1
vote
3answers
2k views

Empty POST data on server on AJAX request using Angular $http

I use AngularJS to build an AJAX form which is then processed on a server running Wordpress. Server-side handler is simple: function rnr_contact_callback() { $name = $_POST['firstName'] . ' ' . ...
1
vote
1answer
464 views

Search/Replace for editor in HTML-mode

Is there a way to do a Search and Replace for the editor in HTML-mode? Plugins I found are for the visual editor, we are working only in HTML-mode, therefore -not- appropriate for what we do. I would ...
0
votes
1answer
20 views

Remove all link title attributes

After reading this and this, I want to remove the title attribute from all links of my blog, as that is good from accessibility point of view. How this can be achieved? UPDATE I found a solution how ...
1
vote
1answer
15 views

How to Login Once to an Entire WP Multisite Network

Does anyone know of a good plugin that permits logging in once as the WP-MS network Super Admin and being able to switch sites without having to re-login into each site individually? Thanks
2
votes
1answer
21 views

How do you import members from another system to Wordpress and update passwords so they'll work?

Our current system ( not using Wordpress ) has 1000s of users that we need to port over to Wordpress. The problem we're running into is that the passwords can't stay the same. In our current system ...
0
votes
2answers
496 views

AJAX values converted to PHP Variables?

I just started playing with Wordpress and I have a question about the AJAX side of things. I think that I understand how the AJAX front-end to server side processing, back to font-end works. But, I ...
0
votes
0answers
14 views

Posts won't show up on custom page template

I have a custom page template in my file blog.php. I'm incorporating this into _s theme (my theme's name is urn). I want to display all the blog posts on this type of page but none of the posts are ...
0
votes
1answer
9 views

I would like to add ssl certificate to my already existing wordpress site

I have site named as www.splessons.com and it has 500 articles and now i would like to add ssl certificate to it. My doubt is does this effect to my old articles. Doubts: 1) Does it effects to my ...
1
vote
1answer
2k views

Widgets menu does not appear under “Appearance” in dashboard

I am developing a WordPress theme, but am stuck on widgetizing my theme. I have followed several tutorials but still cannot get it to work. My widgets menu does not appear under Appearance in my ...
0
votes
0answers
7 views

WooCommerce - Checkout suddenly stops working

From one day to the next apparently the checkout, specifically selecting a payment option stopped working. I can't figure out why, but when selecting an option, the page keeps jQuery reloading. this ...
0
votes
2answers
816 views

Archive Page for Custom Post Type is not Working

I have registered a custom post type "tutorials" with the following snippet. <?php /* Template Name: Tutorial Archive */ get_header(); ?> <div id="content"> <div ...
0
votes
2answers
18 views

Is there a way to change the default page template selection?

Click on "Pages" -> Click on "Add New" In the add new page screen. The default page template selected is "Default Template". Is there a way to change the default option to, let's say "My Other ...
0
votes
1answer
10 views

ACF Image Alt Text [on hold]

I am coding various elements into a Wordpress theme, and I want to be able to add custom alt tags for an image based on which page it loads on. For example: I have the website/company logo at the ...
0
votes
0answers
5 views

Send emails in batches on an event

I'm trying to send a couple hundred emails to my registered users (from Subscribe2) when a new post is created. However, I'm on Godaddy and my script times out at 2 minutes and never finishes sending ...
0
votes
1answer
1k views

How to delete file uploaded by Plupload

I follow the steps from here to integrate the plupload in metabox. Everything is working fine. But I do found one disadvantages of this guide. When I click 'Remove' link from the uploaded images, it ...
-3
votes
0answers
11 views

What's Skylar Reed 10/22/14 in Arabic? [on hold]

Needing this for a tattoo so if some can please help asap that would be very grateful.
0
votes
1answer
167 views

Big arabic permalinks not work

I have error in permalink, I have post that title is big like :- مراجعة : Sony Xperia Z2 و إيجابياته و سلبياته و كل ما تريد معرفته عن الجهاز ! Now when open the post in my site i see permalink like ...
0
votes
2answers
56 views

Post images are not displayed on the front page

I don't get any errors, but the post images are not displayed on the front page, all other pages displays the images correctly. How can I fix this? Here is the site The front page is set to display ...
0
votes
1answer
6 views

Search Page: activate html code if the tag is on the page

this is the first time that I write here and my English is not very good, I will try to explain as best as possible. I want to activate some html text if in the result page, the results, has a ...
0
votes
2answers
372 views

How do you use unzip_file() successfully?

I have been trying to use the unzip_file() function. It says "undefined" so I looked into it, and the WP_Filesystem() must be called and set up. So easy, right? require_once(ABSPATH ...
1
vote
2answers
13 views

How to retrieve a custom post's capability?

When you register a custom post type, you can specify it's capability: 'capability_type' => 'page', Is there away to retrieve the capability_type within a page (based on the post object ...
0
votes
0answers
13 views

sorting posts (custom_posts) in author page

I want to sort posts (taxonomies) in my authors page, i want to sort them only by there one posts an have the right to edit them. I've try ed select elements but it shows results from search.php
0
votes
3answers
24 views

Import Wordpress site to localhost, but loads blank white screen [on hold]

WAMP works fine on my PC. I've created a Wordpress install on D:/wamp/www, replacing the default WAMP index.php, and I've created a new database. I've exported the database from the remote site, ...
0
votes
0answers
12 views

Complex WP_User_Query call fails on production server

I'm having a very specific and hard to debug problem with a complex meta_query in a WP_User_Query call: I'm using this (simplified) code to built the query: // custom user role $arguments = array( ...
3
votes
1answer
55 views

Dynamic Endpoints

I have a database table outside WordPress that I need to make endpoints for. I've created a page /cars/ where I plan on using a page template to generate links. I would like for the url to look like ...
-1
votes
1answer
14 views

Retina quality screenshots?

I need to be able to insert screenshots (mostly cropped sections of web pages, not whole pages) into my WordPress site for instructional purposes. I have discovered the Awesome Screenshot app for ...
0
votes
1answer
425 views

function triggered by “manage_users_custom_column” filter not working

I am trying to add a custom column un users.php but it stays empty. I have successfully added a column to the users admin page with this code in my theme's functions.php file: function ...
0
votes
4answers
51 views

How can I use archive-{post_type}.php theme template?

I've got a staff_member custom post type, with 'has_archive' => true. I've got an archive-staff_member.php template, with /* Template Name: Staff */ In backoffice, to add it to the nav menu, I ...
-1
votes
1answer
11 views

domain.com and sub.domain.com. How to tell domain.com to use sub.domain.com db instead.

Firstly, they are both subfolder networks! I am looking to have domain.com use sub.domain.com's db. Secondary question: Maybe domain mapping? Could domain.com be mapped over sub.domain.com? Could I ...
0
votes
1answer
30 views

query_posts with meta_value

I have category 'news' http://localhost/foldername/news, for each 'news' posts I have custom field called 'years' and is set up as a Text Field. I have 2 values assigned n different posts '2013' and ...
0
votes
1answer
34 views

Ajax loop and history.js for SEO

For a project, I have to ajaxify the main loop with a "load more" button to show more posts (basically as well as Canva Design School). To make this work I used the method described in the tuts+ ...
4
votes
2answers
988 views

Post Format Archive template name for theme folder?

What should I call the archive file for a post format? Ex archive-gallery.php? (doesn't work) I would like to create a list of all the gallery formats with a preview and some custom taxonomies thrown ...
0
votes
1answer
410 views

How to migrate a local WP installation onto Digital Ocean

I'm not sure how many people have experience with Digital Ocean but they're like the new kid on the block for SSD cloud hosting. Anyways there entire model is to basically be a hosting solution for ...

15 30 50 per page