Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (10)

0
votes
1answer
78 views

Can Username and Password be passed to WP Login page in an IFrame?

I am using a real estate commercial theme, that uses a custom login/registration from on the frontend. The admin panel and option pages are restricted to Administrators, but if the theme is ...
1
vote
0answers
63 views

Add success message to category add screen

I have custom taxonomy named "Products", When i add new Product using "edit-tags.php", It is added using ajax. I want to show message after it is added, like "Product added successfully"! When we ...
0
votes
0answers
53 views

Custom Search results page based on search

I am trying to find a way to create custom search results pages based on what the user searched for. I don't think it's possible with a global search since multiple posts may be pulled in but I wanted ...
0
votes
0answers
50 views

Checking if some condition is matched before inserting post into database

Is there a way to check if some requirements are matched before adding new instance of custom post type to database? Like custom policies for adding new posts etc? What I want to do is to build two ...
0
votes
1answer
21 views

Custom wp_query - I'm getting 'all' post, not the specific post in the query

Get all post from today, that are of post type 'product' and are in the taxonomy of 'productType' as 'Indica' and in the taxonomy of 'locationCity' as 'Los Angeles' -- However, I get 'all' the post ...
0
votes
0answers
26 views

Search working only on default permalink structure

my custom theme is using a search form which works fine with default permalink structuresite-url/?p=id. however after i changed my permalink structure to post name, the search returns NOTHING FOUND. ...
0
votes
1answer
181 views

Disable The Events Calendar plugin from loading its scripts

I have just installed The Events Calendar Pro. I am currently using the following custom template to hide any plugin related content and display a message and login link instead: <?php if ...
1
vote
2answers
45 views

Custom Taxonomy Archive not displaying entries

I have CPT 'movie', with the following taxonomies: genre, director, and actor. The code used to register these is this: http://pastebin.com/yJ9XHCDk I have an archive movie page working using the ...
1
vote
3answers
88 views

Static posts page with home.php

For my website, I am using a static home page page Home (template front-page.php) and for posts- page News (template home.php) I need to show all the post titles and exceprts on that page News ...
0
votes
0answers
38 views

define multiple post thumbnails

i'm building a page for catalogs which shows all subpages in a grid with their selected post thumbnail. That works without a problem. Now I need a solution how to define 2 more pictures as a special ...
0
votes
1answer
50 views

Is it possible in WordPress

I am trying to create a ranking based on user donation, my problem is I am not sure if wordpress user meta support append For each Project a user can donate money via paypal In WordPress User Meta I ...
0
votes
1answer
24 views

Confused about customising widgets

I am fairly new to wordpress but im having trouble working out how to customise the widgets. I have customised the search widget like so (in the functions.php file) function widget_search() { ...
0
votes
0answers
16 views

Custom Wordpress Taxonomy problems

I have a problem on my site which is www.sultnedyr.dk . There in the menus there are links like HUndefodder , kattefoddr and kattegorier. Under Hundefodder when you click on cateogory ,it doesnt show ...
0
votes
1answer
41 views

Editing a theme's templates

I have installed the template successfully. I know how to work with modules and articles and menu creation. I don't know how to work with code parts. How can I change the styles on css. How to ...
0
votes
1answer
52 views

How to use hook admin_init for add_action for custom post type column

I'm adding a post thumbnail column to the edit custom post screen. The post thumbnails are showing up fine however I would like to hook it with admin_init to take some load off the website. This is ...
0
votes
1answer
25 views

Multiple Customizers

So I'm building quite a lot of convenient customization options into the wp_customizer and while it does offer the ability to organize settings into tabs, it still seems to be getting rather crowded. ...
0
votes
1answer
55 views

Extend Screen Options

I'm customizing the WP-admin and want to add a toggle button to switch between the customized admin and the default admin. I'd like to place that button in the Screen Options drop down tab. Is there ...
1
vote
1answer
62 views

Plugin Customization Lost During Plugin Upgates

I asked this on the WordPress Plugins/Hacks Forum because SE was in read-only mode yesterday. I did get an answer, but the "relative noobie" is kicking in, as I need an example in order to see how ...
0
votes
2answers
513 views

Pagination not working on Custom Page Template

I searched a lot on this but I can't figure out why my code is not working. I published a page with slug "blog" that uses a custom built template "page-blog.php" that I build from editing the ...
0
votes
1answer
27 views

Show One Category on Post

How do i go about making the code only show one category? <?php $categories = get_the_category(); foreach($categories as $key => $category) { $url = ...
0
votes
0answers
12 views

uploaded files show on same page using frontend uploader [duplicate]

i am using frontend uploader plugin to upload content , whatever files i am uploading it,s content going on a new page. I want to show uploaded file link on same page after approval . thanks in ...
0
votes
0answers
20 views

How to create custom user input field and display multiple field values on another page

I would like to allow logged-in readers to submit input through custom fields displayed in posts. There would also be a page that displays all the user's values inputted through the various fields. ...
0
votes
1answer
23 views

Display Custom Posts

I have created custom posts with the name "review". From WP admin i can create these custom posts. But to display them at user side i am facing a problem. As i am developing plugin i don't want create ...
0
votes
1answer
81 views

Limit the number of posts from a specific category on index.php

I've had multiple requests from different clients to figure out a way to modify their blog (index.php) or Custom Post Type Archive page in order to show less posts from a certain category. A good ...
0
votes
2answers
134 views

Custom css per category and per single post belong in each category

the condition is: there's a wordpress site that has 8 categories, and each category has sub-category, and each subcategory has several posts (and still will be updating/counting) : Category A - 8 ...
-1
votes
1answer
246 views

How would I go about adding custom header images per category?

I am using WooCommerce along with the Neighborhood theme. I am trying to figure it out but I need some guidance if anyone can offer it.
0
votes
0answers
29 views

wp_customizer control default value = 100 - control value

Within WP_Customizer I have two controls for setting the width of the main-column and the width of the sidebar. The default value of the main-column control is 77 and I'd like to set the default ...
0
votes
0answers
20 views

Displaying ACF image from within another plugin

I'm trying to call an image from a custom field made with Advanced Custom Fields but can't seem to get it working. The code below is in a PHP file within another plugin. The idea is that clicking on ...
1
vote
1answer
30 views

wordpress testimonials

I have add a testimonial plugin to show the all featured testimonial on my wordpress home, and category pages. But on category page testimonial slider not working properly. I have also check the JS ...
0
votes
1answer
47 views

How To Style Links in Content Area With <span> Tag Automatically?

This is like a suicide mission for me. I have to avoid CSS because I want to build a website that will help me to create HTML templates for email campaigns. Email readers can't read CSS, so CSS is ...
0
votes
0answers
67 views

Issue with hide and display horizontal scroll accoucement bar

I am using horizontal-scrolling-announcement plugin to announce a news bellow the header.I have added some custom code to hide and display scrolling news announcement at one event if the admin change ...
0
votes
0answers
57 views

Open Page in Lightbox

I have something I’ve never done before and I’m not sure where to start. I’m working on the portfolio for a client’s site http://graybillcreative.com/arc/projects/. I’m using OTW Portfolio Light for ...
0
votes
1answer
107 views

Display_rows() and column_cb() strange behaviour

I found a strange behavior of my functions. I thought to pass the id from display_rows() to column_cb(), but the problem is that the program passes only the first digit. Any hint? column_cb(): ...
0
votes
0answers
24 views

Cookie free site

I have followed directions to make my wordpress cookie free. I've made my subdomain, pointed to my php folder and now I'm stuck. What am I suppose to do with this: bloginfo ('template _directory') ...
0
votes
0answers
31 views

Edit a custom admin page

I have created a custom admin menu page with: add_menu_page This page uploads a form to the wp_options table in the database. Basic save with update_option like: function addressbook_save (){ ...
1
vote
2answers
166 views

custom default avatar showing broken link

I am using the follow function to create a custom default avatar for users who comment and do not have a gravatar setup. if(!function_exists('custom_avatar')){ function ...
0
votes
1answer
24 views

How to show all of aspecific post type that has taxonomy and a specific term

i have a post type called directory_listing, i have a taxonomy called 'place' and I have terms in that tax for place1 and place2. I need to display all the 'directory_listing' posts that use the term ...
0
votes
0answers
36 views

How to set separate “lang” attribute for post or page titles

I am creating a multilingual website in English and Hindi on WordPress. Half of the site is in English and rest is Hindi. In a previous question asked by John Doe here at stackexchange s_ha_dum ...
0
votes
0answers
28 views

Custom field not displaying when category specified in loop/tag

I'm using custom fields (via Advanced Custom Fields) to display particular bits of information. One of them, author (for which there are sometimes multiple entries), displays fine across the site but ...
0
votes
0answers
37 views

Adding The Post Template Dropdown to WP-Admin

I'm developing a WP theme from the ground up for the first time. Having build WP sites before, I know there to be an option in Posts that will allow for the selection of a specific template. I have ...
0
votes
0answers
49 views

Customizing the built-in Media Playlist

I have a simple challenge I can't quite seem to make any progress on: Get the current track (or video) playing and display a link to a transcript of the song. This should be a simple task (and the ...
2
votes
4answers
116 views

Wordpress Ajax Data problem

I couldn't add selected data to a div using ajax. Here is my code: <?php function master_ajaxurl() { $myOpt = $_POST['option']; bringDetails($myOpt); } ...
0
votes
1answer
76 views

Optimize CPT-function with a loop

I want to optimize my functions of a Custom Post Type (CPT). Now I have 10 meta boxes. For each box I have an extra function. The aim is to produce the 10 boxes in one function. I already tried the ...
0
votes
2answers
54 views

Best way to create a page outside of the pages list

Currently, to add a single page that should not be part of the CMS, I add a new Page entry in the WP admin panel and then markup the page in page-{page-slug}.php. This however causes the Pages list to ...
0
votes
2answers
288 views

Current menu item

I'm trying to figure out why my text is not showing white as it should. I'm overriding bootstrap.min.css in style.css the current-menu class in Wordpress, but no success. It highlights the right ...
0
votes
0answers
73 views

What shortcode should I use for <gcse:searchresults-only></gcse:searchresults-only>

I have the same issue as the question posted here : Is there a way to stop WP editor deleting <gcse:searchbox-only></gcse:searchbox-only> I have created a custom-function.php file where ...
0
votes
0answers
28 views

wordpress paginate, link to the right page

I have posts that I paginate, instead of showing them on their single post page I would like to show them on the archive page. I've built my own archive-page with custom functions. I just added ...
0
votes
0answers
182 views

Custom user fields validation on registration

I am using the 'wpestate' theme for my website but I would like to add some custom fields for my user registration. So I tried the following code to extend it: The probelem: When I try to register a ...
1
vote
0answers
38 views

order event posts by multiple custom fields

My event date data is in 3 separate custom fields and I need to sort by entire date, including day, month, year. Right now it's sorting by month only. How can I change it to sort by not just month but ...
0
votes
1answer
82 views

Pre_Get_Posts order DESC not registering

I've created a filter function to filter a post type items by it's meta value _item_price. The problem is that it only works in Ascending Order and I'm not sure why. My pre_get_posts function looks ...