Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
0answers
4 views

Create front-end input field based on search - auto-complete - select?

I'm trying to create a front-end category input field with auto-complete (search - auto-complete - select). I have around 35000 categories. What's the best way to do it, without slowing down page load ...
4
votes
2answers
436 views

Using Vagrant for customizable Wordpress Multi-sites [closed]

Background: My partner and I have a goal to create a customizable vagrant project that uses Wordpress multi site, as a local development environment. Ideal Use Case: Various developers on our team ...
0
votes
1answer
17 views

How can I start over on my site?

I would like to zero out my site and begin over. How can I do that? I have two home page and I only want one, which will be the Front page and will be static. I'm not even sure if this is possible. ...
0
votes
2answers
13 views

How to define a static Home page

I am trying to create a web site with a static "home" page. But when I follow the "very clear instructions" and create a Home page I end up with two Home pages. But only one is listed in the pages to ...
0
votes
0answers
14 views
0
votes
3answers
520 views

Capability to edit own posts and not others

What is the capability that let users to edit their own posts and not others? I am trying to enable the post authors to avail a plugin function only on the posts they own. The permission to access ...
2
votes
0answers
14 views

Is it good to always use the __($str) and _e($str) translate functions whenever there's a text that'll be going to output?

I'm currently developing a non-trivial theme right now, most of the time I'm not using a __($str) translate function when there's an HTML tag therein the text. Is it good to always use the translate ...
5
votes
2answers
448 views

Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?

Essentially I'm trying to add multiple sub nav menus and I'm pretty close but I just can't seem to find the right tack to solve my problem ... I'm using a variation of a Stu Nichols CSS Menu ... ...
0
votes
2answers
818 views

Archive Page for Custom Post Type is not Working

I have registered a custom post type "tutorials" with the following snippet. <?php /* Template Name: Tutorial Archive */ get_header(); ?> <div id="content"> <div ...
0
votes
2answers
593 views

How to add icon over specific thumb

I wanted to do the following, and I know its possible, but I don't know how. I'm looking at in_category, but it doesn't make to much sense. Basically what I want to do, for an example on my homepage, ...
0
votes
0answers
5 views

Redirect when “Log on to reply” is clicked

I have seen this question in the forums and it has been answered, but it is not working for me. I created a new page for a custom login form and managed to get it to show up almost everywhere when ...
0
votes
0answers
3 views

Perform a 'refresh' transport or open the site in new tab, after saving the theme in Customizer

Is it possible to perform a 'refresh' transport after saving the theme in Customizer? Can you help me about this? If it is not, then my plan B is just to open the site in new tab after saving the ...
-2
votes
0answers
5 views

wordpress useful and easy widget plugin [on hold]

-hi..I think Wordpress is really great development tool in creating a web page. I saw the below widget tood..looking very useful.. Can i ask what it is/.......??and is there any more useful ...
0
votes
0answers
13 views

How to appoint different users to different pages?

I am having this problem, i need to separate subscribers(all one user type) into two different groups with access to different pages, pages restricted to one group is available to another though they ...
0
votes
0answers
17 views

Creating custom database table with crud operation

I am new to wordpress. I going to work on one project that is having 400 pages. Out of that only 3-4 pages are the dynamic pages and rest are the static pages. What I meant to say by this, most of ...
0
votes
2answers
21 views

Can readers download zip files from WordPress sites?

Is it possible to store zip files on WordPress and make links to them such that readers can download the files? I am thinking specifically of zip files that contain Mathematica applications ...
0
votes
4answers
5k views

How can I disable parent menu item links?

I don't want to have the parent menu items of my site's nav menus linking to a separate page. For one thing I don't want to have a superfluous page. For another these links hobble site navigation for ...
0
votes
0answers
12 views

Adding a custom sitemap to Yoast sitemap index

I have 2 custom sitemaps that i would like to add to the sitemap index that is generated by the yoast wordpress seo plugin. These sitemaps are generated by my plugin so i want to also use my plugin to ...
0
votes
0answers
11 views

Link a page type with custom WP_query variable

Basicly i want the URL : http://localhost/brands/[brand-name] to be addressed to a page template single-brandname where "[brand-name]" is a custom variable introduced in permalink. The Main Brands ...
0
votes
1answer
14 views

Types Plugin - Display options(select) in template [on hold]

I have created a custom "select field" in admin panel using types plugin. Is it possible to get the values and use it somewhere outside the plugin(in theme or in another plugin)? I like to update the ...
-1
votes
0answers
10 views

How to remove (or replace) add to cart button for products already in the cart (but not only on the product page but on the shop page as well)

I am new in here (this is about woocommerce) Does anyone have an idea of how to disable "ADD TO CART" button on the shop page (and everywhere else) for products that had been already added to cart? I ...
0
votes
1answer
20 views

Custom Single Post Type not referring to single-post-type.php File

I've defined a Custom Post type called "Press", I'm trying to modify the Single Posts template for that Custom Type. The single posts custom file is called "single-press.php" I've tried using an if ...
0
votes
0answers
11 views

pre_get_posts with custom SQL

I have a scenario where there is a custom form on an archive page. I want to use pre_get_posts to modify what is displayed on the archive page, and show the paginated results. The issue is I first ...
0
votes
1answer
523 views

How can I output the custom fields wrapping with HTML

I am trying to publish custom fields created using the plugin "Advanced Custom fields". I am able to display them on posts and custom post types as raw output. But I want to wrap html around the ...
0
votes
0answers
6 views

Yoast SEO Plugin displays “Page not found” for all custom page templates even though they work

I have created custom single pages. By custom page i mean mypage.php and this page will then display custom content. The pages all work perfectly fine and i have hooks in place to add a custom title. ...
0
votes
0answers
10 views

How To Display Admin Toolbar On Custom Template

I am trying to get the admin toolbar to display on a custom page. I am using a custom php file for this. The basic structure of the page is like this and this will display the basic structure of my ...
1
vote
2answers
63 views

Thumbnail & Category link aside post

I've been trying to figure out for days how http://quotelicious.com was able to place thumbnails and category links in a separate box alongside the actual post. Any ideas?
-1
votes
0answers
7 views

Issue with Multiple themes

I have two themes. Theme A and Theme B. I am switching theme using Jonradio plugin based on URL. When I enable Theme A, Theme B's posttypeB is disabled. When I enable Theme B, theme A's footer is ...
1
vote
1answer
909 views

Split content into multiple columns using more tag?

First of, this is pretty much an exact duplicate of: Split columns into three+ divs? But the given solution does not work (returns blank). I'm guessing it collides with qTranslate which adds some ...
0
votes
0answers
14 views

Modify default widgets

i want to add a class to the link inside the footer widgets. how can i do that ? I found a way to add a class to the widget it self but not to the link inside of it ! The concerned widget are ...
0
votes
0answers
16 views

Change post template the proper way

I'm trying to create an option on edit posts screen (backend) to select different post template based the selection and I need your opinions guys if that is the proper way. Here is what I've tried so ...
0
votes
0answers
9 views

Backend as to select combo

I wondered how I could do one thing in wp. I need to show X combo select a page, depending on the option chosen in the display select one thing or another in the next select something else ... etc. ...
0
votes
2answers
31 views

How to add users roles dropdown in registration in wordpress

How to add users roles dropdown in registration in wordpress function myplugin_register_form() { global $wp_roles; echo '<select name="role">'; foreach ( $wp_roles->roles as ...
0
votes
0answers
4 views

How to add images to widget instance from backend

I am working on a project which has content(no posts) and I want to give complete control to user to change and edit content from admin panel. I have created widget added fields to it but I don't know ...
0
votes
0answers
10 views

Add Custom Fields to Tags

I have been searching how to add custom fields to taxonomies, but all what I found (that works) is how to add custom fields to category (below is my code), but I dont know how to edit it to add custom ...
3
votes
2answers
2k views

Customizing gallery shortcode in 3.5

I'm trying to customize the gallery shortcode using the new gallery system in 3.5 and I'm having a bit of trouble and can't figure out where I'm going wrong. This is what I've got at the moment (in ...
3
votes
1answer
651 views

Remote upload file to server B

I'm aware this might be some of the hardest coding to do ever, but thought of giving it a try. Im basically trying to detect all (mp3) filetypes uploaded through the Wordpress media upload and send ...
1
vote
1answer
357 views

Customizing default Mediaelement player

Good morning/afternoon everyone. Been playing around with the default wordpress mediaelement player and definitely loving it. I managed to customize the layout a little by overriding some css values ...
0
votes
0answers
16 views

Tag template pagination

I need to ask about how can i add pagination to my post tag template pages this is the code and link of the page http://ca.unitysofts.com/tag/fortnight-focus/ <?php get_header(); ...
0
votes
1answer
2k views

Sticky menu for WP custom menubars

This seems simple, except that I am not able to figure it out. In a wordpress theme, how can I make a custom menubar below the header image stick at the top after scrolling down the page? Example ...
1
vote
1answer
47 views

Custom Widget Creating PHP Exception When Placed In Its Own PHP File

I have a custom plugin created and i have created a widget. At the moment this code is included in the base php file for the plugin and its working fine. I want to move the widget and all future ones ...
1
vote
2answers
606 views

Wordpress most popular post own code, per week

The plugin Most popular posts doesnt support WPML and therefor I have tried creating my own. I have found this tutorial in creating your own code for showing the most popular posts on my site. ...
0
votes
0answers
9 views

customizing wordpress theme slider with switch statement

i am working on an assignment for wordpress , i need help in following matter, im using wordpress today news theme, the link of my current work ca.unitysofts.com in upper three slider , while ...
0
votes
1answer
519 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
0
votes
1answer
2k views

How Can I limit the visible part of the short-description on the Category page?

How Can I limit the visible part of the 'short description' in the Category Page? I found the code in theme/woocommerce/content-product.php, but whatever I try doesn't do a thing. <?php ...
0
votes
0answers
9 views

How To Add Custom Meta Field Select/Radio Box to Post List Bulk Edit Mode

How can you add a radio fieldset to a custom post-types post list bulk edit screen for a custom meta field? Please provide in depth code example and explanation and thanks in advance. The ...
0
votes
1answer
363 views

Rearrange elements outputted by comment_form()

I'm currently developing a custom theme from scratch. In the past week, I've been trying to change the order of the HTML elements output by the comment_form(). I basically don't know any PHP, and I ...
0
votes
0answers
15 views

let users add multiple divs in static page

I'm pretty new to wordpress and I'm using twentytwelve as a theme. I've created a very simple custom template for some pages: <?php /* Template Name: New Test page*/ ?> <?php get_header(); ...
0
votes
1answer
1k views

Change the way wordpress outputs images or image galleries

The title is the short version of the question. Here's what I need in more details... If the answer is not so simple, I would be glad if you can point me to the right direction with a tutorial or to ...
0
votes
1answer
13 views

How Should Custom Functions Be Called For Single Posts?

I have been trying to find the answer to this. I want to use the best method performance wise, but also want to make this solution portable as possible. I have created a plugin that adds multiple ...