All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

changing posts layout in usermember profile plugin

http://alokikbydivya.webocitytechnologies.website/user/pranav/ I would like for it to be a grid than stacked posts as a lot of empty space looks bad. I am new to customizations and not sure how to ...
0
votes
1answer
19 views

Accessing download link from the loop with WP Download Manager Pro

I'm new to Wordpress, so apologies if this is a silly question. I am using the WP Download Manager Pro plugin to upload PDF's to wpdmpro post types. A user has to enter an email address in order to ...
0
votes
1answer
35 views

Programmatically generate new pages for a site based on page template and content elements accessed via DB

I 'd like to programmatically generate new pages for a site - the textual and visual components of the content are stored in a DB, this includes the names for the different locations the pages are ...
0
votes
1answer
21 views

Call function with button and return response

I'm trying to do the folllowing. I have a button in my template (in templates folder of my plugin). When they press the button I want to call a function and send and id to the function. In that ...
1
vote
1answer
21 views

How to Include a Loop Template File in a Plugin

I am trying to include a template file into a loop i made in a shortcode, in a plugin. Everything shows up fine when the template is actually pasted into the loop, but to make things neat I want to ...
0
votes
0answers
39 views

Change Jobs for Wordpress templates

I'm using the Jobs for Wordpress plugin to post jobs on my clients website. I'm trying to change the templates so I can use my own style and layout, but I can't change the layout and position of the ...
0
votes
1answer
25 views

how to do Thematic like this website using wordpress?

i'm building a wp site about nuclear conference, and want to make this "Thematic Areas" like this site, when clicking on any "thematic" it will popup in same home page.. the link of website:...
0
votes
1answer
482 views

Opening a JQuery modal window on click of a button with a JQuery plugin

I am trying to open a Jquery Modal window on click of a button. And inserting this Button into a plugins content template (WP SHow posts). I'm using jquerymodal.com's modal code, since I don't need a ...
1
vote
1answer
31 views

How to display (plugin?) output on a single page (not a widget, probably not a short code) - template, plugin, combination?

I've seen many variants of this question but none of the answers I've found yet have answered my question. Not new to PHP but new to WP and yes I've read a lot of docs. So this is where I'm diving in ...
1
vote
1answer
62 views

Custom url structure for custom template

I have a custom taxonomy called activities and a custom role called operator. So, if example.com/operators/bird-watching is visited then I want to list all the operators that offers bird-watching. ...
0
votes
0answers
33 views

How to insert my custom taxonomy template via plugin?

I've created a plugin to manage my bookstore site. In this plugin, I've created a custom taxonomy call "authors" to manage book authors. I want to display archives of Authors, so I've created a ...
0
votes
3answers
41 views

How to change the deafult template in Wordpress plugin

I have this plugin: Simple Job Board When I view a job offer I see the default view from my theme. But in page attribute I have a lot templates. but if I change, nothing happens. It is possible to ...
0
votes
0answers
35 views

Customize plugin templates

I am attempting to make some pretty serious template customizations to some of my plugins (mostly Event Espresso). Obviously I don’t want to touch the core stylesheets and template files, since they’...
1
vote
0answers
19 views

Facebook Messager Plugin

I deregister Wordpress's default jquery and register the latest jquery. The problem I faced with the Facebook Messenger plugin relied on Wordpress's default to function. Also when I hashed out the ...
0
votes
1answer
24 views

Wordpress arrows dissapeared strange signs

Good morning! I don't know when but suddenly arrows in plugin "Slider Revolution" dissapeared. It could be only Slider Revolution error but I have noticed that arrow which is used to scroll page to ...
-1
votes
2answers
487 views

WP Customer Reviews call short code on another page [closed]

I have created some theme page and I want to call WP Customer Reviews shortcode echo do_shortcode('[WPCR_SHOW POSTID="' . $post->ID . '" NUM="1" HIDEREVIEWS="0" HIDERESPONSE="1" HIDECUSTOM="1" ...
-1
votes
1answer
53 views

how to redirect to my template

i hade create a new template in my plugin code add_filter( 'template_include', 'bogin_page_template', 99 ); function bogin_page_template( $template ) { if ( is_page( 'bog_test' ) ) { $...
0
votes
1answer
380 views

How to enqueue a theme style-sheet to my admin settings page?

I have a situation in which I am building a plugin that is intentionnally fit for a particular theme. Within my theme I have the following folder structure leading to my css file. wp-content -> ...
1
vote
1answer
428 views

Woocommerce email template customization [closed]

I have the latest version(3.3.4) of woocommerce and I'm trying to customise the email templates that come with it. Tried following this tutorial, but the version I am using doesn't seem to contain ...
1
vote
0answers
17 views

Advanced Custom Field DatePicker [closed]

I am using Advanced custom field + Advanced Forms (Fabian Lindfors) for appointment form. I am wondering whats the best approach to dynamically disable first two weeks in datepicker? For example if I ...
0
votes
2answers
127 views

How to use template inside plugin shortcode with variables for big HTML code

I have a shortcode which will have a big HTML. It will have 4 selects which I'm getting the data inside the shortcode: $house_types = get_terms(array( 'taxonomy' => 'house_types', 'hide_empty'...
5
votes
1answer
96 views

How can I have two different urls for the same page that load two different templates?

I have the following page: http://liquidchurch.com/messages/ It appears fine on desktop and mobile web. I'm working on a mobile app and using a web view to encapsulate the page within the app. ...
0
votes
1answer
58 views

Template conflict with WC Payment Method

So, again I come here to ask you for help. I'm using Apus RealState Template with WooCommerce. Everything was fine til I installed a payment gateway module... Now, Wordpress logs the following to ...
0
votes
1answer
121 views

Why is WP template_include overwritting all templates rather than specified page?

I have created a custom plugin for WP that has an action that includes a template via template_include as shown here: public function __construct( $wp_custom_plugin, $version ) { $this->...
-1
votes
2answers
375 views

WP_Query is getting the post but the_post() not rendering any Post

Problem Description: the code below is from a single-featured-article.php file . Copying this custom template for a custom post type 'featured-article' from my plug-in to the active theme folder . ...
1
vote
2answers
39 views

Use of Templates in a Plugin

I´am creating a Plugin. For this I wrote my own templates. Now I want to have the templeates files in my Plugin directory. But that doenst work fine. Since I used the Plugin directory, wordpress ...
1
vote
3answers
397 views

How to get the HTML until </head>?

I'm coding a plugin that adds a filter to single_template. The filter function successfully returns the path to my show-post-in-a-lightbox.php template. As you can guess from its name, my template is ...
1
vote
0answers
32 views

Add comments for template variables

I am writing a small plugin that uses a custom template to render content. The plugin uses extract() to add variables that can be used inside the template. I was wondering if there is a standard for ...
2
votes
4answers
2k views

WooCommerce - Load Templates From Plugin For All Template Files

I've read a bunch of articles about overriding the default /woocommerce/ templates and tried implementing the following (which were the best/most relevant that I could find all to no avail): Load ...
0
votes
2answers
37 views

How to add HTML to a template only when user is logged out/ not registered

I'm trying to add a login/register button to my home page only when a user is logged out. I've tried using the do_shortcode call into the relevant template: (I know there is currently no conditional ...
2
votes
0answers
137 views

Plugin shortcode won't work on a custom template file [closed]

I have created a custom template in the Twenty Sixteen theme and I want to add Social stacks plugin shortcode there but the SC never runs. The shortcode runs as expected on posts or in other pages. ...
1
vote
1answer
120 views

Should I fetch the data managed by a plugin by using its APIs or Wordpress APIs?

I am learning Wordpress for the first time since a couple weeks or so, and to make practice and create something useful, I've started a pizza restaurant website, which perhaps I'll also publish. To ...
6
votes
5answers
2k views

How to add custom content template part for a custom post type on main query using a plugin

I have a custom post type paper defined in my WordPress plugin that I show along with standard posts in the main query via: function add_custom_post_types_to_query( $query ) { if ( is_home() &...
5
votes
2answers
807 views

Page Templates from plugin not working after upgrading WP to 4.7 or upper version

I am working on a plugin which we need for education website. I have added 3-4 Page templates within my plugin so that we can call when plugin is activated. Till WordPress 4.7, it was working ...
0
votes
1answer
770 views

Override comments.php template with plugin

How can I override default theme/WP Core comments.php template with my own in the plugin? I searched for different solutions, but they don't work for me. Or how to hook to the end of any post (even ...
0
votes
2answers
39 views

how to force tag page layout to use same as search layout?

I have remarked that when clicking on a tag I have a list of posts displayed differently that when I use search box. How to force tag page layout to use same as search layout for any template ?
0
votes
1answer
231 views

Adding a custom page template to a plugin generated page

I have a page template, which is fully working throughout the website other than the pages where the plugin has generated a page such as a job description page, as the plugin that I am using is WP Job ...
0
votes
2answers
32 views

History of page, interval of years

I'm having a customer who wants a WordPress page, and I don't have the best overview of the plugins and possibilities for this exact requirement my customer wants. He arranges an seminar once a year, ...
1
vote
2answers
992 views

More than one text-domain is being used because of the included templates for plugins

I added bbPress and WooCommerce in my theme and override some templates too. These templates contains textdomains like bbpress and woocommerce. Unfortunately I got the following error in Theme-Check: ...
0
votes
1answer
344 views

How to echo a plugin's function into a template?

I've tried checking for a similar question but couldn't find one. If possible please link me to this as I might be creating a duplicate. Anyways.. I am using a basic testimonial plugin (Clean ...
0
votes
2answers
941 views

Template filter for custom taxonomy terms

I want to replace custom taxonomy term template with my custom template. Like using add_filter('single_template','customFun'); replaces single custom post type template. I have a custom taxonomy e.g ...
-2
votes
2answers
131 views

Divi Template A Few Questions

I'm new and getting stuck into to WordPress and really like the Elegant Theme Divi option, however I have a few questions I was hoping someone could help with. I do require that the site I build can ...
2
votes
3answers
704 views

How do I add a template to a theme using a plugin?

I need a page template to be used with my plugin. I don't need to replace a theme template such as single or archive. Normally I'd use /* * Template Name: Blah Blah Blah */ to add a template to the ...
0
votes
1answer
717 views

How to add dynamic content to posts page, archive, taxonomies, search, author, etc?

I am building a Wordpress plugin, it is kind of a page builder and I want to allow users to manually customize the page layout by adding content/shortcodes to any page within the "Template Hierarchy": ...
0
votes
1answer
32 views

WP plugin calls for custom pages

I'm trying to create a custom landing page for my site. I am using wordpress because of the SEO plugins they offer. Mind you I'm not an expert so this might be an obvious question (please be gentle) ...
1
vote
1answer
165 views

Use touch_time() on front-end form via plugin

I'm working on a plug-in that let people create posts from front-end form. I want to add date&time fields in the form using touch_time() but don't know how to use it on front-end. I have <div ...
0
votes
1answer
570 views

Pagination shows Same posts

I made a custom template and I want to show all posts from certain category in this template excluding some ,I am getting as per desired but pagination shows same posts whether I am on 1st page or ...
0
votes
1answer
67 views

custom template only for content

I've been trying to get into wordpress plugin development but I still haven't figured out how to customize just one part of the template, I've seen the single-{post-type}.php method, but this changes ...
0
votes
1answer
466 views

Where to find the code used to render a page that has a shortcode and a template defined?

I'm new to WP and trying to configure the 'My Account' page on a WP site. The site uses the Paid Memberships Pro (PMP) plugin. In the WP admin console > Pages, there is a page called 'My Account'. ...
1
vote
1answer
178 views

WP Post Template - Templates in own folder

I am using the plugin: WP Post Template which allows me to use templates for custom post types. At present the plugin watches the theme root directory for pages with: <?php /** * WP Post Template:...