0
votes
0answers
34 views

how to load custom single.php?

Hi I have a blog where the categories are news, events and inspiration. These categories are selected using radio buttons on acf. I want to load news on single-news.php while events on ...
1
vote
0answers
107 views

Why is there a status message “302 Found” on top of the site?

I'm confused about current state of my website. Whole website is working fine but on the top of the site it shows a weird message. Please see the image below: Why this message shows up? Is my site ...
-4
votes
2answers
24 views

How to make 3 boxes like this screenshot has?

I am trying to create the 3 boxes that appear right below navigation and the email sign-up form. Is there a plugin to create something like that? Or what is a possible way to accomplish this sort of ...
-1
votes
0answers
10 views

WP plugin import content from wikipedia [on hold]

Is there a plugin which allow users do search from wikipedia and WP will stocks the content in database as a owned site content? I have tried search a lot of this plugin, some are almost but the ...
1
vote
0answers
25 views

Configuring a meta query with multiple post types that have the same relationship on a single page

I am creating a client portal were my clients can maintain their projects and leave feedback. I have two custom post types called "Clients" and "Projects" and they each pull information from one ...
-1
votes
1answer
26 views

Emailing Authors only when a CUSTOM POST TYPE post is published- not when edited later [duplicate]

I have the following function that emails authors of a custom post type when the post is published which is great, but I would like it so that it does not email them on any future edits after that to ...
0
votes
0answers
24 views

Network created blogs URL

I'm building a blog network where people can register their blogs. As default if my domain is domain.com and if user creates a blog, the URL will be domain.com/mynewblog/ Now I would like that all ...
0
votes
0answers
21 views

Menus not showing in the admin menu, after save

I updated wordpress to v3.9, I added several custom links and pages in that menu, saved it and after that the menu editing UI disappeared: Here is image how it looks now and what JS error it ...
0
votes
2answers
19 views

Is there a way to fire other functions from wp_insert_post

I am creating a new post using the wp_insert_post function. Here's what that code looks like: $new_post = array( 'post_title' => $newtitle, 'post_status' => 'publish', ...
0
votes
1answer
17 views

Use 'get' form action within a WordPress plugin admin page

I am writing a WordPress plugin that has a dashboard URL like this... http://www.mydomain.com/wp-admin/admin.php?page=my-plugin.php I have a datepicker box within the page that I use to select a ...
0
votes
1answer
22 views

How to show months in wordpress archive page?

I am a newbie to wordpress and have no knowledge of PHP. I want to show the months in my archive page, in this manner where, it shows the starting month when i my first post was made and continues ...
-2
votes
0answers
9 views

get featured image custom size outside the loop [duplicate]

I try to get the feature image with a custom size previously set thanks to add_image_size(). However after many tries I didn't success. In my function.php file I write this: add_image_size( ...
-1
votes
0answers
9 views

How to achieve that oembeded vimeo and youtube links in post do not collide with same origin policy for frames?

If i add a video link from vimeo or youtube in a post like e.g. : http://vimeo.com/17079380 http://www.youtube.com/watch?v=a4S7k13mUlM& then the output in the frontend works, the two videos ...
0
votes
1answer
9 views

List all Posts under heading in wp_list_pages menu

I am currently using the default Page Navigation (wp_list_pages) with wordpress and I have set my homepage to a page called "Home" and my blog to a page called "Events" but I would like to list the 10 ...
0
votes
0answers
14 views

Subdomain multisites not working with addon domain

I have tried to setup multisite with sub-domain option in wordpress but its not working I have followed this guide I have domain added in my hostgator addon domain so I set wild card with path on ...
3
votes
0answers
31 views

Media manager multiple selection

I was creating a plugin, and its part should by adding files to custom posts. I managed script to work, but after few changes, to better look and function, it allows only one file to be added, than no ...
0
votes
0answers
10 views

admin edit member profile on front-end [duplicate]

I've seen that nobody answered to this question: Let admin users edit member profiles from front end Is there a way to allow Admin editing members/users profile on front-end? Thank you.
1
vote
1answer
26 views

Apache Fallback instead of add_rewrite_rule

My requirement is to do SEO Friendly URL for an existing site in Wordpress. For example, Current URL: http://test.com/test/?pid=19971 that is the page "test" is rendering the data from some custom ...
2
votes
1answer
32 views

Where the WordPress Core Translation is “actually” taking place?

I'm a WordPress Core Bengali translator, currently translating and/or fixing existing translations of WordPress 3.8x Bengali in Translate.WordPress.org. Suddenly, yesterday I got an update ...
-2
votes
0answers
10 views

How to troubleshoot error 404 and 500 when installing WordPress?

I'm a wordpress newbie and want to set up WordPress site for my blog, but i faced with these problems. Any can give me a very easily understandable answer! Thank so much!
-1
votes
0answers
11 views

Which type of license I will use for my Wordpress theme

I create a wordpress theme. Now I want to upload my theme on Themeforest or other Marketplace. But I have not enough knowledge about license term and condition. I know that GNU General Public License ...
1
vote
1answer
19 views

Installed WordPress Location

can i install wordpress on my sub-domain while all its contents/post are on the root domain? Ex. admin.mydomain.com/wp-admin.... then the contents/post or homepage must be in mydomain.com and ...
0
votes
0answers
21 views

Add index for post_title field to get similar post using full-text search

Currently, there are too many of my blog posts (about 700,000 articles) In my blog function "related articles" I'm thinking to use full-text search function to display the following related articles: ...
0
votes
0answers
4 views

W3 total cache and 51Degrees.mobi Mobile Device Detector [on hold]

Please I need help with this issue. I have a WordPress website I am using on it the plugins w3 total cache as well 51Degrees.mobi Mobile Device Detector. The problem is "When accessing the mobile ...
0
votes
1answer
22 views

add image size still doesn't work even after regenerating thumbnails

I'm encountering this very frustrating problem where add_image_size() just doesn't seem to work at all (in fact, I've never seen it even work before). By not working, I mean not resizing / crop (if I ...
0
votes
0answers
21 views

wp-cli is not working properly. No response from commands

I am trying to make a copy of a live site on a test server. I installed wp-cli and wp-cli sometimes works and sometimes doesn't. When it doesn't work, it just returns nothing. Not one character of ...
0
votes
2answers
22 views

How do I add some javascript validation to the admin interface form's onsubmit?

I have a plugin that adds meta boxes to the admin interface and I need to do some validation when the user presses the "update" button before the form is submitted. Is there a WordPress action or ...
1
vote
3answers
28 views

Define size for `get_post_gallery_images`, they seem to have been resized to 150x150

I'm using get_post_gallery_images and it's spitting images out as 150x150. It doesn't look like it takes a size parameter, so I assumed it would just spit out the largest image or preferably one of my ...
0
votes
0answers
20 views

Stop link being removed in menu/list when viewing that post

I am using the following code in a widget that displays the posts in that category, but when I view that link by clicking it, it disapears from the menu/list. Take a look here <?php $my_query = ...
0
votes
1answer
9 views

How to set back query var author_name after unset it?

I am unsetting the query var author_name for querying posts in the author template page. I am using pre_get_posts to filter the main query. After the query is run, I need to set back the author_name ...
0
votes
0answers
43 views

How to change value in wp-include/taxonomy.php without exchanging the Wordpress-core

I had the problem that tags of private posts didn't show up in a widget tag-cloud even if the user is logged in. The reason seems to be the value of "post_status" in the function ...
0
votes
0answers
16 views

What's a an up-to-date Germanix (Plugin) replacement? [on hold]

The Germanix plugin removes special characters from slugs. It is no longer under active development, the 'current' version was published a few years ago: ...
0
votes
1answer
22 views

Remove the parent name from permalink

I have a problem with the address of the categories in my website. At first, I have to say I checked all the similar topic and question in stackexchange, but none of them solved my problem. Problem ...
0
votes
2answers
28 views

Get custom taxonomy term url on archive page

This is driving me crazy, so please help me guys with this. I'm trying to add a metatag to custom taxonomy ter archive page header which contains the url of the term archive page of a custom ...
0
votes
1answer
28 views

save_post action not firing when save

Below is my code that will take the post_id and randomly get 3 posts from the same category and store them as custom field. The code is clearly working, because when I click "New Post", I see the ...
0
votes
2answers
26 views

How Can I Change The Tax Query For The Main Loop For Taxonomy Archives?

I am trying to change an argument in the tax query in the main WP_QUERY object for creating the archive view for my the archive of my hierarchical taxonomy. My goal is to change one of the arguments ...
0
votes
1answer
26 views

How Do I Merge Categories With phpMyAdmin

I tried the following phpMyAdmin query to merge my category 112747 into my category 112748: UPDATE wp_term_relationships SET term_taxonomy_id = 112747 WHERE term_taxonomy_id = 112748; It did not ...
0
votes
2answers
26 views

wp_nav_menu (secondary menu) not adding current classes

I've looked everywhere, but i can't find a solution. My secondary menu isn't adding any current classes to the tags when it's rendered. I have added this menu in my functions.php file function ...
0
votes
0answers
7 views

Custom nav walker error [duplicate]

I'm using wordpress 3.9 locally to develop a new theme for my website, however I am getting these errors when trying to use a custom nav walker function: Strict Standards: Declaration of ...
0
votes
0answers
11 views

How to set featured image size in percentage [on hold]

So I'm using this code as a part of a query to get related posts <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), '' ); ?> <div class="relatedpost" ...
0
votes
0answers
12 views

Cannot oembed in buddypress activity?

I create a buddypress site on local host. After moving to vps server the oembed not working anymore in activity stream. I deactivate the firewall. No success with that. I'm thinking maybe I missing ...
0
votes
0answers
24 views

How to list categories/tags as a list in meta tags

I was wondering if there's any way to list all tags and categories of a posts in the header of that post. I want to list all the tags/categories via a plugin as a list in meta, similar to this: ...
0
votes
0answers
15 views

What is the proper url for facebook api to work with wordpress?

This may seem silly but after google searching it I was unable to find a solution. I'm using the newest facebook PHP SDK and wordpress. I've tested my code in plain php and it works like a charm. ...
0
votes
0answers
14 views

Display remaining characters for input field using jquery [on hold]

I'm trying to display the remaining number of characters for an input field using jquery. I found a very simple code, and ended up with these files: my-form.php <input type="text" ...
0
votes
1answer
18 views

Scheduling posts via sql

I got 10k posts with dates that are in the future. I imported my posts as a draft cause it seems quicker. I have used phpmyadmin to set the status of the posts to future with this sql command: UPDATE ...
0
votes
1answer
17 views

Problem with single-page for my custom post

I'm working on a website with a portfolio section, and I'm almost finished with this section, but I have a problem with the single page which is : whenever i click on any portfolio link, the single ...
0
votes
1answer
23 views

Different layout on search page depending on category post

I would like to display different layouts for post with different categories on the search page: I tried with this code: <?php if(isset($_GET['the_category'])) { $type = ...
1
vote
1answer
22 views

How to add parameter to wp_enqueue_script?

I have the situation that I need to include special scripts only in case a parameter in a macro is used. For the background, see the following: My plugin ChessTempoViewer which wraps a JavaScript ...
0
votes
1answer
43 views

Multiple images with Media Uploader on front-end

I'm trying to implement a multiple image upload on a frontend form, using the built-in Wordpress Media Uploader. I managed to have a single image upload, but I can't find out how to have multiple ...
0
votes
1answer
10 views

Page updates appear in Preview but not live version?

I have made some changes to a blog page and excluded some categories. However, whenever I view the blog online the excluded posts still appear. But when I got to the blog page and click 'preview' the ...

15 30 50 per page