Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (9)

0
votes
2answers
39 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
17 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
43 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
21 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
39 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
22 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
0answers
15 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
30 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
57 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
136 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
25 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
13 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
22 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 ...
-2
votes
3answers
297 views

How to edit Zinnia theme, or possibly any theme? [closed]

I am very new to WP. I recently started using it for my web site and I choose the Zinnia theme. I don't know if I am just very green on this WP stuff but I am finding it hard to edit things in this ...
0
votes
1answer
48 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
35 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
44 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
12 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
17 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
24 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
27 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
44 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
27 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
56 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
16 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
30 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 (){ ...
0
votes
2answers
59 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
18 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
18 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
27 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
26 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
19 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
93 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
70 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
1answer
35 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
96 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
37 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
26 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
84 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
31 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
37 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 ...
0
votes
0answers
24 views

Whats the Mysql Query to Find each display_name stored in wp_postmeta.meta_value, grouped by username?

I created a custom content type that contains some fieds tos store user names (display name), thru a meta.key that is called 'opr'. Now i want a mysql query to find all custom postss date ...
0
votes
1answer
27 views

How to publish some default pages in Multisite creation?

In multi site environment, I need to publish some pages by default while creating a new site , is this possible?
0
votes
1answer
79 views

Display single post inside accordion based on form submission results

*Note - for full background see previous question here: http://bit.ly/1gaF673 Ok, so after fixing the problem above and a couple of issues that followed. My form submission returns the results I ...
0
votes
1answer
24 views

For one linked image per post, override that link with a permalink when on the main page

Is there an existing plugin that allows a person to, in a post, put a link on an image, but when the post is shown as part of the main-page list, have that image link to the post's permalink instead. ...
0
votes
1answer
41 views

List of Events with Multiple Dates: Only NEXT Date

I am currently developing a site http://madstheatre.com that will serve as a resource for Performance and Audition information in Madison, WI. A feature that is preventing me from starting to go ...
0
votes
2answers
33 views

Database custom table issues - incorrect result displayed

First things first: I've spent most of today going over these forums; the stackoverflow forums; the php.net manual; and a bunch of random sites I found through Google Search - so, if I've missed the ...
-1
votes
1answer
29 views

Meta Tags by Meta Box

I have successfully added custom meta tags to metaboxes on my pages. The issue I am having is when the metabox has no data it is still showing in the html. This is the code I have got, does anyone ...