0
votes
1answer
115 views

Getting 404s on New Pages

Can't figure out why this would be happening- wp install issue or .htaccess issue? I am using a theme but the same problem occurs with the default wp themes. After I create a new page (example: ...
0
votes
1answer
71 views

Random ID for custom post type

I am doing some testing with custom post types. Assume I have various page templates and a custom post type template that share one footer.php file. In the footer, I call do_dis_function() which is ...
0
votes
1answer
197 views

Author page points to 404 error page

I am having a membership site in wordpress where there are more than 10K users. Now when the user having a single word user_nicename ( http://example.com/author/james ) try to access their respective ...
0
votes
1answer
70 views

Should I use a Meta field or custom table?

From a performance only perspective, can anyone with more more experience of the WordPress core tell me if writing something like a post view counter to a separate table in MySQL would be quicker for ...
0
votes
1answer
225 views

Linking from a list of custom post type items to a single - get_post_permalink not working correctly

I have created a custom post type of Case Studies, and created a list page which gives an overview of each. Some have a link straight to the case study in PDF form and some have a link to a single ...
0
votes
1answer
90 views

Return one of user's post from a category in user's profile

I'm working on a site which requires requires users to submit a custom profile of sorts, and then one post in a specific category (all of that is being done through Gravity Forms and their User ...
0
votes
1answer
159 views

Export / import Wordpress database

Is there a proper way of exporting and importing a big WordPress MySQL database to a new database? When I tried to do that in the standard way I run into 2 issues: All widgets disappeared and I had ...
0
votes
1answer
87 views

Home page: using custom fields for posts and pages

in my home page I'd like to display some pages and posts title using the custom fields. Unfortunately my code prints only posts title. If there is a key "highlights" print the title. Here my code: ...
0
votes
1answer
76 views

Migrating domain name from old WP host to new (which uses vhosts)

I have an old WordPress site that I am redeveloping. I'm redeveloping it on what will become the new host for the site. The idea is that when the new site is ready I will change the DNS records on my ...
0
votes
1answer
440 views

WordPress import not importing custom taxonomy

I've posted this already in the WP Support Forum hoping to have more luck here. I'm trying to import a custom post type from one blog to another. (126 posts in the custom post type). I've exported ...
0
votes
1answer
79 views

Two Rewrite Rules

I have one folder inside WordPress root folder named links and there is a file called index.php inside this folder. at somewhere else in my WordPress site I do generate links such as ...
0
votes
1answer
34 views

Tags Sorted By Characters?

If i put multiple tags in a post then after publishing the post all tags are auto arranged by Character Serial, like A B C D... any idea if i wish to have all tags will not sorted or arranged by ...
0
votes
1answer
59 views

Last three posts not being put in order by date. How to fix this?

My company adds a quote of the day each day. The last three posts that I have put are not in order though. The first quote I posted 3 days ago is at the top the post I posted yesterday is under that, ...
0
votes
1answer
140 views

Pulling sub-site content into specific pages

I'm working on a school website. The design calls for a collection of largely static pages, but for each class to have a blog which will be updated every few days. I know nothing about WordPress or ...
0
votes
1answer
114 views

Exclude Authors based off date of last post

I have several writers that range from frequent to one-time writers for my blog. On my Author page, I would like to separate out writers that have not posted an article in 6 months. It would be nice ...
0
votes
1answer
484 views

Custom url structure - pages under a custom post type

I'm struggling with the structure of my Wordpress site and I was hoping you might be able to give me some advice. The site is for a series of events and the structure is as follows: Gateway ...
0
votes
1answer
125 views

remove_action returns FALSE

I'm trying to remove the canonical link reference from my page headers and I'm using the following code in my functions.php: remove_action('wp_head', 'rel_canonical'); However, when I test the ...
0
votes
1answer
304 views

Display custom field outside the loop

Inside of my WordPress theme directory I have a standalone PHP file called image, this currently looks like this.... <?php define('WP_USE_THEMES', false); ...
0
votes
1answer
120 views

Lead Generation with Cookies in Wordpress

New Edit I would like to show the_content BEFORE the more tag when the cookie is not set and the_content AFTER the more tag when the cookie is set. I could not answer to my own question because ...
0
votes
1answer
125 views

SSL problems with WordPress

I want to use SSL with my WordPress installation but only on the admin interface (because it is self signed). Now my problem is that when I go to the main site I become redirected to the https ...
0
votes
1answer
45 views

Wordpress create new <section> on site when a new page is added

I'm trying to create a single page wordpress theme. Whenever I add a new page, I want a new to be added to my Single page theme. I'm currently using this code: $pages = get_pages( array ( ...
0
votes
1answer
810 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 ...
0
votes
1answer
335 views

Bulk move (or copy) from a custom field to the post content?

I need to move (or copy) the contents of a custom field into the main post body, replacing any existing content. I need to do this for a few hundred posts...Is there a quick way of doing this? I can ...
0
votes
1answer
222 views

Email verification feature in wordpress social login plugin

I'm using wordpress social login plugin.. It uses HybridAuth library. Here is a demo of HybridAuth library. The wordpress plugin looks nice. But it generates a random email for most of the social ...
0
votes
1answer
77 views

Archive links don't work when clicked

I have archive links in my theme that get the archives for a specfic category ('blog) like so: <?php wp_get_archives('cat=6'); ?> When i click on the link for the archives is just loads the ...
0
votes
1answer
214 views

Using pagination with multiple loops causes it to break

I'm have two loops on my index page. One fetches the latest posts from the 'work' category and the other fetches the latest from the 'blog' category. (see below) I am also using a plugin called ...
0
votes
1answer
65 views

Sidebar not visible after changing to new domain

I made a change of my existing domain to new domain. I took the backup of the database from old site and imported it into new database Used the search and replace widget to replace the old url with ...
0
votes
1answer
179 views

Wordpress sub-posts and permalinks

I'm thinking about one problem... There is a set of regular posts. Just posts in categories. I need to add for some of them a sort of subposts, posts which will be related to parent-post. This ...
0
votes
1answer
65 views

Create and style menu

I have been assigned with the task to create a menu that can be added or removed from wordpress admin. Right now the menu is hard coded into the templates. But I want to use default menu function ...
0
votes
1answer
504 views

Exclude post formats in custom loop

I'm trying to exclude all post formats but standard from a page template loop that displays 4 latest posts. For some reason I can't get the query to work. This is my page template global $paged, ...
0
votes
1answer
65 views

custom fields wordpress

I am trying to add a value assigned in the custom field by doing a post in these following steps: I make a new post, add a new custom field where i specify a name and a value. PHP I add the ...
0
votes
1answer
194 views

wp_delete_term or wp_delete_category?

Hi I need a simple piece of code to delete a category for a custom plugin, but I just found two function references that seems quite the same: Function Reference: wp_delete_term Description: Removes ...
0
votes
1answer
121 views

Submenu opened problem

I am trying to fix a problem with a submenu. I have coded (as you can see on jsfiddle: http://jsfiddle.net/8899x/87/ ) my horizontal menu and the submenu. I would like to leave the submenu opened when ...
0
votes
1answer
253 views

Converting multiple loops into one single loop with pagination

I am using Isotope jquery plugin to filter/sort posts in Wordpress but to correctly filter the posts into the right order I have needed to output each category one after the other. To do this I've ...
0
votes
1answer
19 views

how to get confirm that a shared user are inivited by member of website?

If I install a social plugin to invite users per Facebook or Google+ – how do I know that a user have invited some of user and that user are has become member through that link?
0
votes
1answer
141 views

Migrating site, only header shows

I have copied my file structure to a new server, and exported the relevant tables to an SQL file. I have imported the tables to the new database. When I visit the new URL, only the header of the ...
0
votes
1answer
58 views

Link to most recently created category of custom taxonomy in primary navigation menu

I have a custom taxonomy called Issues (like magazine issues) with categories named after the title of each issue. I created a page called "Current Issue" and added a link to it in the main ...
0
votes
1answer
97 views

Create a “feed” from one WordPress site to another?

I know there a way to use XML-RPC to transfer past posts from one WordPress site to another, but I am wondering if there is a way to create a constantly updating feed of posts of a certain type. That ...
0
votes
1answer
219 views

Insert code on specific taxonomy archives

On a woocommerce site, I am trying to insert a piece of code on all category pages. The code I am using is: function my_code() { if ( ! is_tax('product_cat') ) return; ?> <!-- my ...
0
votes
1answer
65 views

Get Posts with matching lowest taxonomies

I have a post type called venues, and each post type has a list of values to choose from in my custom taxonomy 'location'. E.g: London (top level) West London (2nd level) North London (2nd level) ...
0
votes
1answer
79 views

sql for querying post and their category

I'm trying to query the wordpress database for the post and what category they belong in. Is there a sql query that I can use for this? Thanks,
0
votes
1answer
185 views

Custom post rewrite rule not working

I'm adding a custom post type like so (names have been altered to protect the innocent): add_action('init', 'my_post_types'); function my_post_types() { register_post_type('publication', ...
0
votes
1answer
64 views

If I want social media icons that link to my site's corresponding accounts, is that better to do with a plugin, or manually?

I feel like it's simple enough that coding it in would be beneficial, but I'm not sure.
0
votes
1answer
92 views

Removing custom post type name in single article URLs

My articles are not standard posts but custom post types (not sure about how to formulate this exactly). When viewing an article in single view, the URL is : ...
0
votes
1answer
262 views

wpdb inside foreach loop only returns first result - 2 other similar cases found

@Milo Problem solved, found spaces in the array $arrname. I was trying to get post id using post_name. First of all I stored all post_name in an array an then loop through the array to use the key ...
0
votes
1answer
156 views

How to reduce three query to one in multiple output template?

I would like to publish 7 posts from the same category but embedded in different DIV or UL. How could I simplify this code? <?php $query01 = array( 'numberposts' => 1, 'offset'=> 0, ...
0
votes
1answer
170 views

Hide/Show panel not showing - ACF

I came across strange thing. I have been using ACF for a quite a long time now and I love this plugin, but I tried to use it for new project and when I create group of fields for my pages show/hide ...
0
votes
1answer
255 views

Query in a Hierarchical Custom Post Type for Children vs Siblings

I have a custom post type with two levels of pages inside of it. the parent level we'll call parent, and child - child. The parents need to be able to pull in their children, and the children need ...
0
votes
1answer
146 views

404 on child page template

I have a page called portfolio and I have created several child pages for it like Video page, audio page etc … I also created custom page template for portfolio and named its file ...
0
votes
1answer
36 views

list pages by custom_field?

Is there a way for me to sort these posts alphabetically according to the custom field I have defined (last_name)? <?php $page_id = get_the_ID(); $args = array('sort_order'=>'DESC', ...

15 30 50 per page