0
votes
0answers
4 views

How to secure a call to php file, that is not part of Wordpress

I want to make a meme from images. The following is a common script for doing so: <?php header('Content-type: image/jpeg'); // Create Image From Existing File $jpg_image = ...
0
votes
0answers
2 views

Search by post_meta when field type is ACF relationship

A client has requested to use a relationship field to select contacts associated with the post. They have also requested that these posts be searchable by the contact information. The problem is, I'm ...
-2
votes
1answer
17 views

Can you not edit the HTML and PHP of your WordPress without paying?

Sorry for the noob question. I'm new to WP. I'm not seeing where I can edit the HTML and PHP of my blog. I see a bunch of GUI options to change colors, etc. but nothing to change my blog's source ...
0
votes
0answers
3 views

Why, when moving a WordPress multisite network, have my theme customisations stopped working?

I have recently moved a multisite network to a new domain. There is only 1 site in the network currently (I'm in the process of building the sites for the network and I am pushing this one to a ...
0
votes
1answer
11 views

How declare Ajax functions ussing SHORTINIT

I try to use SHORTINIT in my wordpress to do Ajax more fast, but I try to declare my functions and don't return any value. My code is: define('SHORTINIT',true); require_once ...
0
votes
0answers
7 views

Parse error with is_tax. Header.php is unchangeable

Hello my lovely and awesome friends, I got a little something, that I can't handle myself :) As I'm not as good as I would like to be with php and css, I downloaded a Wordpress theme which I wanted ...
0
votes
0answers
6 views

Add pre-filled text fields on woocommerce with booking

I am trying to add several pre-filled fields to my woocommerce checkout page. The idea is to pass the First Name, Last Name, Booking Start Time and Booking End Time into several custom fields so I ...
0
votes
1answer
9 views

Child theme on style.min.css

I am trying to create a child theme, and have come up with this. <?php // Exit if accessed directly if ( !defined('ABSPATH')) exit; // BEGIN ENQUEUE PARENT ACTION if ...
0
votes
0answers
7 views

Change customizer options direct in the database

I have more of a theoretical question at this stage whilst I plan a project. I am building a theme that uses the wordpress customizer for it's theme options. Outside of the theme customizer though I ...
0
votes
1answer
9 views

Call admin ajax using absolute url? Relative URL breaks (frontend ajax)

Hoping There is an easy way to do this/I am doing something horridly wrong: I'm trying to simply display a list of post titles. When a user clicks on the title it will display that said title's ...
0
votes
0answers
23 views

add the value of a variable returned in a while loop

I am trying to add the values of a variable together and display the total value. I am using posts to posts to create a connection between my custom post types 'recipes' and 'ingredients'. the ...
0
votes
1answer
26 views

Custom Post type and Custom Field WP_Query

I am developing a site for a client who is a Youth Football (Soccer) Club, with lots of different Teams depending on the abilities and ages of the children. I have added in a Custom Post Type called ...
1
vote
1answer
27 views

Conditional tag search-no-results

Is there a way to make a conditional tag that tests if it is search-no-results page? I know that there is a function to check if is_search() page: if(is_search()){ echo "search page"; } But I ...
-1
votes
0answers
6 views

Products in category not full width after changing loop_shop_columns [on hold]

add_filter('loop_shop_per_page', create_function('$cols', 'return 8;'), 10); add_filter('loop_shop_columns', 'loop_columns'); if (!function_exists('loop_columns')){ function loop_columns(){ ...
-2
votes
0answers
12 views

i want to add a class 'page-scroll' to subscription menu.and rest of menus have a class 'wobble-bottom' in wp_nav_menu,how to do this? [on hold]

<ul> <li><a href="#" title="">Home</a></li> <li><a href="#" title="">About</a></li> <li><a class="page-scroll" ...
0
votes
0answers
11 views

Pretty permalinks IIS gives 404 on posts/pages

I'm trying to get Wordpress to work under IIS and I've gotten stuck on custom permalinks. If I use the standard ugly permalinks, All standard features works fine, but plugins like Buddypress does ...
0
votes
1answer
23 views

How to enqueu php files with custom variable & conditionals?

Hi I have taken over a website with half-customized theme. It was an outdated theme with bunch of scripts and formatting. Currently I encountered a small issue when enqueue stylesheets in ...
0
votes
1answer
18 views

Assign automatically and manually modify category

I assign automatically a category to a post when published. But how can i modify this category in admin? function add_bookcategory_automatically($post_ID) { global $wpdb; ...
0
votes
0answers
19 views

Overwrite Parent Theme add_image_size in Child Theme

I'm using a child theme of a parent theme. Now on my parent theme, theveloper adds some custom image sizes like this - if ( function_exists( 'add_image_size' ) ) { add_image_size( ...
0
votes
0answers
26 views

How to manually change current date to post date in frontend?

Well I want to know how the viewer on my website can change the wordpress current date to the post date (preferable from the dropdown as Day and Month). So if today's wordpress date is 22 December, ...
0
votes
0answers
18 views

value not saving in the form when dynamically creating an input

var AppendDivStore = jQuery(".AppendDivStore"); jQuery('<input />').attr( { type: 'text', class: 'PastetheSkillsValuemy'+inc+'', id: 'wpjobus_resume_skills['+inc+'][1]', name: ...
0
votes
0answers
27 views

Pagination on home page not working

My problem is here. When I press page 2, 3 or other on my HOME page it just goes to 404 not found, but when I go in any category, and press page 2 it works great. I have tried changing the ...
0
votes
0answers
10 views

Change Admin Bar Login and Register Link - Buddypress 2.1.1

I am using wordpress 4.1 and buddypress 2.1.1 My theme provides its own lightbox for login and registration, but it only works for the login and register links that are generated by the theme, and ...
0
votes
1answer
30 views

If Modified Since HTTP Header

I am trying to enable 304 If Modified Since HTTP header in my WordPress site. After doing lot of Googling I find out a site where the author said to put the following line at the very end of wordpress ...
0
votes
1answer
28 views

Featured images get shrunken

While uploading featured images, the problem I am getting is, all images are shrinking automatically. I want to retain the original image. Check this example. All staff memebers images are shrinked ...
-1
votes
1answer
24 views

How to remove 'Paste your Google Webmaster Tools verification code here' from header [on hold]

A week back I posted webmaster tools code somewhere in my .php files by opening editor from appearance. Then I forgot where I pasted my code. But this message is there in my header. Please tell me how ...
0
votes
1answer
23 views

Custom permalink structure leads to be 404 on pagination

I have a permalink issue. For your information, there are a few different categories within a website and there are many posts in a single category. My permalink setting is: Custom Stucture: ...
0
votes
0answers
10 views

Redirection problem in my wordpress website [on hold]

I made a website in Wordpress, But suddenly yesterday whenever i click on any link on my site or menu it opens homepage only. The URL in the browser is changing according to the link but visible page ...
0
votes
0answers
25 views

How to add ID and class in nav menu walker?

I would like to set up a custom walker that produces the following output: <div id="navbarHolder"> <div id="navbar"> <ul> <li><a id="nav_about" ...
0
votes
1answer
28 views

Which PHP files should I edit for changing POSTS list and view pages?

Iam totally new to WP but now I got a situation to integrate blog in my magento store for that Iam using WP-Blog now I need to edit blogs posts List page and posts view page I want o do this by ...
0
votes
0answers
14 views

Unexpected 'endwhile' [on hold]

I'm beginner. Just starting creating my own template and faced with error on loop <?php get_header(); ?> <?php while ( have_posts() ) the_post(); ?> <p>example</p> ...
0
votes
1answer
29 views

instance is empty in function widget()

I am working on a widget for my theme. If I do a print_r($insance) in the form function, the instance array is populated with the correct data. I have checked the database and the correct ...
0
votes
1answer
17 views

Search engine not working

How to display results with title and summary description in landing page of search engine and make it as pagination? If the user type the word "loan", all pages that have a loan word will display ...
2
votes
1answer
15 views

How do I add an icon to a new admin bar item?

I have a function that adds items to the WordPress toolbar. For example: $args2 = array( 'id' => 'conversations_unread', 'title' => $visitor['conversations_unread'] . ' &nbsp ', ...
0
votes
0answers
23 views

Pass variable to next page

I'm putting simple breadcrumbs in a site, based on a custom post's category. Items > Category > Individual Post "Items" doesn't change, it's just plain text. In the Category page it's title is ...
0
votes
1answer
25 views

List children on child post

I have a custom post type with children posts. If I'm viewing one of the children post how can I list other children posts that uses the same parent?
-2
votes
0answers
8 views

Plugins/Tools for Volunteer Data Management Site [on hold]

I am building a volunteer management site. Here is a rough sketch of the areas: 1.) An area for volunteers and prospective volunteers to search for volunteer opportunities and discover organizations ...
0
votes
1answer
25 views

Wrong request query on cpt and tax

In my plugin I think that I use pretty much standard and documented way to add my custom post type and two tax (cats and tags), but only thing that I do is set custom capability_type and perms. Here ...
0
votes
1answer
27 views

Echo page title from page with custom meta datetime picker

I am using Custom Metaboxes and Fields for Wordpress I am using the datetime_timestamp custom meta with a page. I am trying to echo the title of the page I am using the custom meta datetime in. But ...
0
votes
0answers
14 views

Excluding top level from taxonomy and post loop

I've got a custom post type / taxonomy. I've created a list that shows all the categories and the posts in them. I have set up a top level category (taxonomy) that has two sub categories. I want my ...
0
votes
0answers
16 views

Override plugin php file

Is there a way to override an entire php file from a plugin? I want to customize the output of the plugin, and with how the plugin is written I can't just overwrite the one function that controls the ...
0
votes
0answers
15 views

Multisite - global categories [duplicate]

I have a multisite network set up (where each blog actually represents one language). The contents of each site can differ (since it's handled by different people with different focus). BUT: We want ...
1
vote
1answer
65 views

What's the proper way to include inlined javascript-source?

I'm making a theme where I'm including a javascript-lib which wants to be loaded/instrumented with a potion of generated code at document.ready()-time. Generated because some theme-options are ...
0
votes
0answers
11 views

One pager, automatic scroll [on hold]

I am currently busy with a one pager website. If you are at the top and click on one of the page of the navigation it scrolls down, but as you can see it doesn't stop at the title but under it, the ...
0
votes
0answers
34 views

how to get value of wp_dropdown_categories

I am making a widget and I have used the wp_dropdown_categories() function in that widget. What I can't figure out is how to get the selected value from the dropdown. What variable is the selected ...
0
votes
1answer
20 views

Wordpress import error

Firstly I installed WordPress on my site, then I generate a XML file for my blog (akasujjwal.wordpress.com) transfer by using export tool. And when I try to import this XML file to the installed ...
1
vote
1answer
36 views

How to create a shortcode with 1 parameter (atts)

I am having trouble getting a shortcode to work with 1 attribute. Here is my shortcode [sme_user-email userID="2"] Here are my scripts - none of them work. function getUserEmail_func($atts) { ...
-7
votes
0answers
27 views

Woocommerce help. SOS [on hold]

I need some help with Woocommerce . If you know the answer please help me asap. 1st:How can i add a custom checkbox field at Billing Section where the customer will choose between 2 tax rates (for ...
0
votes
0answers
14 views

Translation file .po [on hold]

I have a problem translating the bulletin board of WordPress. The theme is Amplius (as you can see from the 3 paths below). I installed the plugin "CodeStyling Localization" and by that I ...
0
votes
0answers
11 views

Custom form for password protected page

I would like to create or modify the form of password protected pages. My problem is that: I need another input from the user. If the user gives the email and the password then he/she can see the ...

15 30 50 per page