0
votes
0answers
13 views

White Screen of Death (no plugins, no themes)

I think I've read all the possible solutions for the famous Whitescreen of Death, but the WordPress blog still appears white, WHILE the Admin Panel is currently working. The WSOD appeared when I ...
0
votes
0answers
6 views

How to Add ACF Repeater Filed to add_post_meta [on hold]

I am new with ACF,wordpress, I am trying to create post from front end and to achieve same I created a form in my wp template file , which user fills and post get created in database all is ok so far ...
0
votes
0answers
12 views

2 posts same excerpt?

I'm facing the following problem: I'm outputting 2 posts with different titles, dates, permalinks but the excerpt are both the same. <?php $query = new WP_Query( array( 'post_type' ...
0
votes
0answers
4 views

Manage edit user capabilities on user list (user.php)

I would need to disable the user edit for some users from the user's list (user.php). I thought I could use the map_meta_cap hook or user_has_cap but I'd need to know the user_id inside the loop in ...
0
votes
1answer
7 views

Get XAMPP to divert to my site automatically

When I enter my domain name into the web browser, eg. www.mysite.com, xampp automatically diverts to www.mysite.com/xampp How can I change it to go directly to my site folder eg. ...
0
votes
0answers
8 views

Retrieve data from post meta meta_key having '_product_fq_image' while having author_id and post type is PRODUCT

How can we retrieve data from postmeta having '_product_fq_image' while having author_id and post type is PRODUCT I have tried this $lt_content_design= get_user_meta( $user_id, 'lt_content_design', ...
-2
votes
0answers
12 views

Connecting the blog like Quora

We want give our users facility to connect or validate their existing wordpress blog like Quora does, which API should we use? Do we need to give blog embedding or authentication API by wordpress? if ...
0
votes
1answer
8 views

// File Security Check from WooCommerce [duplicate]

// File Security Check if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && basename( __FILE__ ) == basename($_SERVER['SCRIPT_FILENAME'] ) ) { die ( 'You do not have sufficient permissions to ...
-2
votes
0answers
13 views

Structured post format

I'm looking to create a blog (multisite) with VERY structured post formats. The will be a front end posting option, where users can choose a category, tag, and make a list of five items. Later they ...
1
vote
1answer
24 views

Custom query works but returns “Undefined Offset: 0”

My custom query works, except when debugging it throws off an error: Undefined Offset: 0 in /wp-includes/query.php This is what my query looks like : <?php $loop = new ...
0
votes
1answer
10 views

Which method to use when deleting posts from the front-end

I am trying to enlist all my posts on the front-end along with delete and edit links (using the shortcode API). I am having difficulty with the delete links. To me the most obvious way to handle ...
1
vote
2answers
21 views

Exclude Posts From Specific Category from Next and Previous post links

I've been searching for this a lot...but all I get is not what I need. I simply want to show next and previous links on single.php (from all the categories, based on publish date, not just in the ...
0
votes
2answers
18 views

Getting URL of archive (category) page

I'm trying to retrieve the current URL of the page, which works everywhere except for archive pages, for example, a category page. On a category page, it shows as the most recent post in that ...
0
votes
0answers
3 views

Editor hidden tags when switch Visual to Text tabs

From Wordpress 3.9, 3.9.1 versions was errors with showing on Editor. Here is problems: Step 1: When create new page and paste this content: <div itemprop="review" itemscope ...
0
votes
0answers
13 views

How to form post thumb in Google's result page?

So, this is what kind of thumbs I'm talking about. I know a method, where is possible to show authors' avatar (We just need to use G+ account), but this is another story, I want to have unique ...
0
votes
0answers
3 views

Woocommerce Plug-in: Woocommerce Category Banner - Add Category banner to single product [on hold]

Using the plug-in "Woocommerce Category Banner" I am able to insert a banner image onto each woocommerce category page (though the plug-ins added banner field on the woocommerce category page in the ...
0
votes
1answer
10 views

Weird Parse Error on Uploaded File

so I'm working on this theme on my localhost, and I just uploaded it to see if it'd work and I'm getting a weird parse error for these lines in my functions.php file. It works fine on my localhost ...
0
votes
1answer
22 views

Show menu only if_page is

I have created 4 menus (submenus) in wordpress. I need to know how show this menus only if pages ids are "10 and 11 for example. Is possible? I'm desperated after two hours... thanks! This is my code ...
0
votes
0answers
6 views

Is there a Python tool such as pywikibot for WordPress? [on hold]

Pywikibot is an excellent tool to work with MediaWiki websites. erppeek is another example of a nice tool, this one's for Odoo/OpenERP. These tools allow me to conveniently and interactively work ...
0
votes
1answer
13 views

Display Tags of Child Pages

I'm trying to display tags of child pages on the parent page. In my functions.php: // add tag support to pages function tags_support_all() { register_taxonomy_for_object_type('post_tag', 'page'); } ...
0
votes
1answer
7 views

wordpress blog in subdirectory or subdomain

I'm using Wordpress for my website. Now I'd like to add a blog section to my website. I'd like it to be accessible like this: http://www.mywebsite.com/blog or even better, as a subdomain: ...
-1
votes
0answers
9 views

Show only comments on posts from authors in WordPress [on hold]

By default Wordpress shows all accounts all the reviews that the site has received. Did that when I was logged in as Author only show comments on the posts Author. see: Comments with green ...
-1
votes
0answers
17 views

Page Tags Not Displaying [duplicate]

I'm trying to have tags for pages, but it's working. What I want to do specifically is display titles and tags of child pages of certain page. The titles are displayed, but the tags aren't. I have ...
0
votes
0answers
11 views

Trying to access custom post redirects to home page

I just started using WordPress and it seems I need more practice and advice to make it behave the way I want it to. I inherited an already working site from another guy. Now I have to actually add new ...
0
votes
0answers
19 views

How to prevent wordpress from autoformatting my posts once and for all?

I am using ifttt to sync my wordpress blog with my blogger site, and there is a problem of auto-formatting on wordpress's side. It likes inserting <br> everywhere when exporting posts. For ...
0
votes
1answer
19 views

Query function not executed between <div> element [on hold]

I'm wondering why the following code is not executed between the element it's put in. I know sort of how to fix, but I'm not sure if that's the best solution. My code: First function function ...
2
votes
1answer
29 views

Dynamically Load Styles and Scripts from Theme Functions.php

I am attempting to dynamically load stylesheets and scripts based on the template name. So if I have a template named page-signup.php then it will load the corresponding stylesheet page-signup.css and ...
1
vote
1answer
28 views

What's the point of using Wordpress's built in admin-ajax.php?

I'm trying to understand why using admin-ajax.php is advantageous over doing something like this: add_action ('wp_loaded', 'my_ajax'); function my_ajax() { // Do Ajax, Check $_POST die(); } ...
0
votes
1answer
9 views

Showing a link with Javascript based on log-in status

<?php if ( is_user_logged_in() ) { echo ''; } else { echo '<a onclick="ppOpen('#login_panel', '800',1)" href=\"javascript:\">Entrar</a>'; } ?> Hello, I'm trying to make this work ...
0
votes
1answer
18 views

Some doubts about how the main query and the custom query works in this custom theme?

I am pretty new in WordPress theme development and I not so into PHP (I came from Java and C#) and have the following situation in this custom theme: http://lnx.asper-eritrea.com/ As you can see in ...
0
votes
3answers
39 views

Issues with wordpress permalink

I am new to wordpress but have experience in Drupal. I am developing wordpress site which I access as localhost/site1. I created another copy of it to experiment a few things. I can access another ...
0
votes
1answer
16 views

How to add element to sprintf html output? [on hold]

I'm trying to add data-masonry-options='{"gutter":10}'" to the sprintf output $html = sprintf( '<ul class="gallery">%s</ul>', $html ); on my functions.php. Basically what I'm trying to ...
1
vote
1answer
30 views

What is best practice for writing/using custom PHP classes in a theme?

I want to use a custom PHP class in my theme, however I am not sure where to add it. Is there best practice used by the community for including PHP classes with a theme or is that an individual ...
0
votes
0answers
2 views

comments_template form redirects back to single page

I placed a the comments_template() function on the archive page, so the comments, and the comment box is visible under every post. The problem is when I submit the form, wp redirects me to the single ...
0
votes
1answer
11 views

Alternative to query->set that appends conditions instead of overriding

I am applying a taxonomy condition to the main query in my plugin which is excludes an array of post formats from it. It's being done as follows: $query->set('tax_query', array( array( ...
1
vote
1answer
14 views

Can't get result from sql using ajax result

I'm using an AJAX form to feed the code something to lookup in db. Separate table, not WP options. I'm getting the result from AJAX, but when I try to do the sql it just returns 0. This is the ...
0
votes
0answers
6 views

Avada shortcode [on hold]

I would like to copy the carousel effect of this template> www.awerest.com/demo/myway/light/ > (exactly with the same icon and effect of the words ): see here > ...
0
votes
0answers
10 views

How to add different id for multi_add_to_cart quantity buttons [on hold]

In bellow code i have add different id for each quantity buttons. here i have to variation 1)Female and 2)Male variation i have to assign different id for quantity buttons like <input ...
-1
votes
0answers
6 views

Woocommerce Show the total number of product in each category [on hold]

Im developing a woocommerce website with bazaar theme.http://themeforest.net/item/bazar-shop-multipurpose-ecommerce-theme/3895788 I would like to display the product coun on category as attached ...
0
votes
1answer
6 views

Save/retrieve form data best practises for theme development

I'm building a theme and I have a custom page template with a <form> which is for the vistors to fill in and submit. I'm processing the data with help from hooks and this is all separated from ...
0
votes
1answer
20 views

WP_Query: Mixing category__in and tag__in together

I'm creating a "Related posts" section for my theme, based on a tutorial from wpbeginner.com. It offered two options in selecting posts: those in the same category(ies), using category__in, or those ...
0
votes
0answers
9 views

Twenty Eleven child theme anchor top menu not clickable

I am working on child twentyeleven theme. I have to do three things to my child theme. 1-Using page.php coping in my child theme.I added the code in page.php at top of the code <?php if ...
0
votes
2answers
33 views

How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?

I am pretty new in WordPress theme development and I have the following doubt about how show posts into a page. I have this page belonging to an old custom legacy blog that I am build again using ...
0
votes
0answers
27 views

Walker class for wp_list_pages

I'm using wp_list_pages to create a nav of the pages in my site. Some pages have a chilren so I need a dropdown menu in the nav to show the child pages. I'm using bootstrap to create the dropdown ...
0
votes
0answers
16 views

How to display Parent categories and Child Categories?

I struggleing to find the best way to develop the below. Basically my website will have a landing page on the site (Sports Landing Page) and when the user clicks on a category on that page eg ...
0
votes
0answers
13 views

Why plugin's icon for the menu not found?

Why plugin's icon is not showing in plugin menu ? All code of plugin : add_action( 'admin_menu', 'register_my_custom_menu_page' ); function register_my_custom_menu_page(){ add_menu_page( 'Site ...
0
votes
2answers
29 views

Automatically set page order on create page

Is there a way to automatically set page order to the last order number upon creating new pages instead of having it set to 0?
-1
votes
0answers
15 views

Where are the filters stored in woocommerce plugin folder [on hold]

I am debugging a WordPress theme that is woocommerce enabled and found in some pages apply_filters command ,but I don't know where to find these filters declaration file in the plugin directory, ...
-1
votes
0answers
6 views

Remove decimals from WooCommerce price on home page only [on hold]

I know you can hide the decimals via the WooCommerce settings, but this is site wide. How would you go about removing them for a loop on the homepage only?
1
vote
1answer
11 views

Possible to create a multisite network where the main site is non-WP?

example.com <- large non-WP site I would like to add multiple blogs to the site, with different URL requirements, and manage them all within one Multisite install. However, the original site will ...

15 30 50 per page