0
votes
1answer
3 views

Style post formats differently on the home page

I was wondering how I can style different post formats differently on the home page. I set up all the formats and grabbed this code from a tutorial website, that displays all the different formats on ...
0
votes
0answers
12 views

wp-admin white screen of death

I'm having an issue with wp-admin where the screen is completely blank. I have tried the following to no avail; re-installed core Wordpress files in the main directory including but not limited to; ...
0
votes
0answers
12 views

HTTP error when uploading an image

I know there are already a few posts on this issue, but unfortunately none of those answers were helpful to me. Every time I upload an image, I get an HTTP Error - that's it. Nothing more, no ...
0
votes
0answers
6 views

php files not loading except for index.php

I recently had to restore a public_html folder after an accidental deletion. Afterwards I can load the http://www.example.com/wp-admin/index.php but I cannot load any other php file such as ...
0
votes
1answer
14 views

Is there a known vulnerability for wp-cron.php?

I am using WordPress v.4.1 and all the plugins and the theme are up to date. I see in my log files too many of these... xxx.xxx.xxx.xxx - - [02/Jan/2015:13:30:27 +0200] "POST ...
-2
votes
0answers
5 views

Export company contact details to any address book, contact list or device

Does anyone know of a plugin or service that can allow a site visitor to download the company reps contact details to their address book, contact list or device? I need it to be able to do what this ...
0
votes
0answers
16 views

Echo outside HTML

I'm new to Wordpress and I want to echo a script and a css file inside the footer.php . This is the code that I use. echo "<script src='file.js'></script>"; echo '<link ...
0
votes
2answers
9 views

Accessing the post content with wp_query

I have the following code from a template to view get the post information: <?php $args = array( 'post_type' => 'post', 'posts_per_page' => $count, 'paged' => $paged, ...
0
votes
1answer
4 views

Search tags in CPTs

I can't seem to figure out how to search for tags. When I add the 'tag' => $keyword line into WP_query then I get no results for every search. $keyword = get_search_query(); $args = array( ...
0
votes
1answer
11 views

Transition from Draft to Scheduled Post with wp_update_post

I am trying to transition my post from a Draft status to a Scheduled status in the future. Here is my code to do that: if($save_as_draft == "yes"){ $post_status = 'draft'; $post_date = ...
-1
votes
0answers
14 views

slow ..I mean very slow loading of my site [ New Problem]

I, Firstofall uploaded my previous data and zip files on file manager and It worked. I opened wp-admin..and used super cache and other every single thing to increase page speed... The Page speed was ...
0
votes
2answers
17 views

How to fix 403 Forbidden You don't have permission to access / on this server [on hold]

So I was writing a new post in Wordpress, and suddenly I got this 403 error Forbidden You don't have permission to access / on this server. Apache/2.4.9 (Unix) Server at www.lightwear.co.uk Port 80 ...
0
votes
1answer
17 views

get_pages() Returns Only One Item

I'm trying to list the children of a specific parent page for use in a shortcode using get_pages(). Unfortunately, only one page is being displayed though there are many more that should be displayed. ...
-2
votes
0answers
19 views

Would this structure be possible in wordpress?

A site with 4 different locations, for example: London Cambridge Manchester Briton Once the user click on any of them, a new menu will appear: Cars Tvs Trains Ships So if I click in first in ...
0
votes
0answers
3 views

removing value in a wp_customize color control?

I can add a setting and a control for the theme customizer using $wp_customizwer->add_setting() and $wp_customizwer->add_control($wp_customize->add_control(new ...
0
votes
2answers
10 views

How to add Post Tags to a new <meta> element in header.php?

How to add Post Tags inside a new element in header.php? I'm probably overlooking an obvious function in the WordPress Codex. I have tried adding these to header.php: <meta name="page-tags" ...
-1
votes
0answers
6 views

How to clone wp-admin and make a new dashboard controlled by your code?

Let's say I want to create a new admin panel for WordPress. Which should be separate from the one we have now. How do you think I should start? I want to build /wp-admin/ from scratch for ...
0
votes
0answers
4 views

Add Upload button in Tinymce Editor popup?

I am creating a tinymce popup where I need to have an option to upload file. I searched for a while but could not find any solution for this. Is there anyone who can help me to grab it ? Please ...
0
votes
0answers
5 views

Wordpress mega menu walker

I need make a mega menu walker with these structure: <li><a href="#" title="" class="active">Sākums</a></li> <li class="dropdown"> <a href="#" title="" ...
0
votes
0answers
9 views

Sticky Navigation Issues

I have the following issues with our sticky navigation: Sometimes the navigation follows the user down the page and other times it doesn't (on separate pages of separate content) When you click on a ...
0
votes
2answers
14 views

Move theme templates to subfolder without losing page associations

I'm aware that templates can reside in a subfolder of a theme since 3.4. My theme has been about for a while and all our templates reside in the theme directory. I'd like to tidy this up by adding ...
1
vote
1answer
7 views

WP-API: how do I allow authenticated clients only?

I set up an OAuth client for WP-API following the instructions for WP-API/OAuth1 on github. I was disappointed to realise afterwards that all of the site's content remains available over the API, ...
0
votes
0answers
4 views

Register user and log in from custom script

I need to build a php script called via POST on http with some paramaters like username, password, email. This POST came from a desktop app and will works something like this: - press a button to ...
0
votes
1answer
10 views

What happens in the database when you link variations in woocommerce?

I have a program that sends products to the woocommerce backed website. I succesfully have it sending single products but variable products are only 90% of the way there. When I send it I create the ...
0
votes
0answers
10 views

The title of an attachment is not working

I use this function to assign the title of every page: function my_title() { switch ( true ) { // [...] case (is_attachment()): wp_title(''); // This doesn't work ...
0
votes
1answer
8 views

Can I install a theme on only one site of a multi-site network install?

I'd like to install a theme on only one site of a multi-site network install. Is there a way to do that?
0
votes
0answers
6 views

How do I translate product categories and attributes with qTranslate

I'm running a Woocommerce-based eshop with all latest versions (Wordopress 4.1, WooCommerce 2.2.10) and I'm using a fork of qTranslate, the qTranslate Plus v2.7.2 plugin. I can translate titles, menu ...
0
votes
0answers
14 views

Wordpress Creat itemprop meta

Hello i wanna use the itemprop meta in my posts, and i wanna know how to dynamicly generate the contents here is an exemple of the metat i wanna use : <itemscope ...
0
votes
0answers
8 views

ACF Gallery in lightbox on click

I have created a gallery using the ACF gallery add-on, I can output the images using this: <?php $images = get_sub_field('gallery'); if( $images ):?> <?php foreach( $images as ...
0
votes
1answer
28 views

How do i change the sql query for wp_get_archive()

I am using wp_get_archive() in category.php. If I am on page of category=2 it should show my archives of only that category. However it is for all the categories. So how can I change the query for ...
1
vote
0answers
15 views

infinite-scroll for 2 fixed height containers

I have 2 fixed height columns for 2 different post-types. The goal is to get the infinite-scroll to work in both containers. I know that the JetPack infinite-scroll container parameter uses ID value ...
0
votes
0answers
9 views

Failed media upload: “The uploaded file was only partially uploaded.”

I am running Linux CentOS 5.8 and I have my web pages using WordPress 4.0. I am trying to uplad jpg photos to server via WordPress, but it randomly fails. I uploaded few photos, and then I get ...
0
votes
1answer
12 views

Create a Page template selector page

I'm running around with an idea in my head that I would like to make but I don't really know how or where to start. In a custom theme I had to make serveral templates for one of my clients. I ...
0
votes
1answer
21 views

add_action and do_action

I am trying to hook a function to wp_head that adds some meta tags, but I does not work correctly. Here is my code: add_action( 'wp_head', 'add_meta_tags' , 2, 1 ); ...
0
votes
0answers
8 views

How to let users personalize their content?

I want to create a highly personalized site for my users. However, I haven't come across any tips or solutions in my searches. Are there any plugins, widgets, etc out there that would let each of my ...
0
votes
1answer
12 views

Show recent published posts

I want to list recent published posts of my wp blog and exclude certain posts of some categories. The following code works fine, 10 recent posts are listed and posts in the listed categories are ...
0
votes
0answers
6 views

Converting WP Page to use full explicit paths?

I'm integrating a 3rd party product db/search feature into an existing/live Wordpress website using the vendor's Remote HTML Framing Code template. They are asking me to "convert all paths to full" ...
-2
votes
0answers
18 views

I want custom post template?

Hey I want to have some attributes in my post template by default, like when I click add new post, i want to have by default Mail subscription and more...
0
votes
1answer
12 views

Why are default comments deprecated?

I am developing a theme and, after calling comments_template(), noticed that "Theme without comments.php is deprecated since version 3.0". I created a comments.php in the root of my theme and copied ...
0
votes
0answers
8 views

White screen of death after failing on plugin install

I've tried to install the W3 cache plugin but during the activation it started to file because of permissions. I changed the permissions to make W3 cache plugin working. After I run the plugin test ...
0
votes
0answers
3 views

User registration and activation email in custom form

I have implemented a custom login and registration form in WP as mentioned here. User can now register but can not login until admin approves that user from backend. I need to implement admin ...
0
votes
0answers
4 views

Wordpress import issues - “Internal; server error” when trying to import .xml

I have persistently had the same issue over the past week; when I try to import my exported .xml file from my old website, and onto the new one, I get a 500 internal server error. I have tried ...
0
votes
1answer
9 views

Wordpress Thumbnail compression depends on the server?

Different image weights were generated in different servers when Uploading images to Media. For instance, an original image of 2.1Mb uploaded to a server generated a 700Kb image, for the medium ...
-1
votes
0answers
8 views

Gravity Forms occasionally sends user to Paypal Sandbox

I have gravity forms on a live website, which goes through to Paypal upon form completion. Usually this works fine, but occasionally it sends someone to the Paypal sandbox and won't let them complete ...
0
votes
0answers
2 views

Partial text search custom taxonomy

I am trying to do an autocomplete field that interrogates the database finding a custom taxonomy but can't seems to figure out how to achieve this. Would i need a custom query?
-1
votes
0answers
19 views

Advanced Custom Field (ACF) conditional logic on dropdown selector [on hold]

In Advanced Custom Fields (ACF) , I created a dropdown selector that list my taxonomies and I'd like to add a conditional logic on a term. My list is : Taxonomy1, Taxonomy2…, Other In backoffice, I ...
0
votes
0answers
12 views

orderby multiple meta keys and meta values

In wordpress, I have posts with meta key "country" and meta values: "usa", "france", "spain", "venezuela" etc... I have the same posts with meta key "rating" and meta values from "1" to "10" I would ...
0
votes
0answers
10 views

Auto link files in directory [on hold]

Looking for a plugin, which automatically list files as downloadable links after scanning the specific folders for mew uploaded files. Users will upload daily reports through FTP access, with ...
0
votes
1answer
11 views

Using the media library for theme customization

I'm using Underscores to build a theme and I've added an image selector to the customization section, which appears just like the default Background Image section, except clicking 'Select Image' ...
0
votes
1answer
11 views

Upload mobi and epub file in the MEDIA of WP

How can I upload mobi and epub files in the MEDIA of my WP site? I want customers to be able to download my ebooks in the epub and mobi version also, not just in PDF !!! I know there is an HTML code ...

15 30 50 per page