prodefu
Forum Replies Created
-
Hi,
Thanks, I guess I just missed this part of the plugin; turns out that enabling search in the permalink was enough, since I included the project number in the post slug of each post.
Best regards,
Gert-Jan B.Forum: Plugins
In reply to: [Content Blocks (Custom Post Widget)] Shortcodes column remains emptyHi Johan,
Thanks for explaining this. Would it be possible to use [conent_block id=xxxx] the default shortcode and store it as post meta?
Personally I see little added value in the alternative shortcodes, the format of a shortcode makes no difference to me; so I would much prefer one shortcode format that is stored as post meta, above the current situation.
But of course I leave this up to you to decide if you are willing to change this. You may very well have a good reason for the extra shortcode formats, that I don’t know of.
Forum: Plugins
In reply to: [Unique Headers] Code to use in templateWell, thanks for your explaining (I learned something from it), but in the end the feeling remains that you do not really want to help me solve this issue. I think you and I think differently about helping someone out. I respect that.
You can close this topic for now, but just for the record: it’s not (yet) resolved…
Forum: Plugins
In reply to: [Unique Headers] Code to use in templateThanks, that’s a clear answer. Just for the record: I don’t want to implement the WordPress header system itself with your plugin, that’s already in place – be it a custom template part of my theme.
I still think it’s a pity that your plugin only works with the default WP header system, while it should be so easy to extend it with use for a custom header template part. It could make your plugin the all-round custom header solution that can work with every theme that has a header system in place.
But I respect your choice not to do this, it’s your plugin after all. So in this case I will look for a different plugin.
Forum: Plugins
In reply to: [Unique Headers] Code to use in templateHi Ryan,
Thanks for your replay, but this is not the answer I expected – it feels a bit blunt, to be honest. But maybe I was not clear enough in my original post about what I’m actually asking.
Basically I’m trying to use your plugin with a custom header template part; I think many more users like me would want to know how to do this.
If I encounter a problem in WordPress, I alwasy try to think of a solution that would benefit not only me, but all users with the same problem. So I think it would improve your plugin if you could implement a shortcode to load the set custom header image at any place, thus also in a custom header template part.
The theme of my website is using it’s own header template part, so by default it does not work with your plugin. But by default the posts and pages did not show any header background image, until I modified the header template part to load the featured image as background. So it should be not too difficult to extend this with some code from your plugin for the custom header image as well.
I know that the featured image URL is loaded by ‘the_post_thumbnail_url(‘post-background’)’ in the code of the header template part. I’m now just looking for a simple code snippet to replace this with the URL of the set custom header image and to include a check if a custom header image is set.
I’ve been looking for this for quite a while now, but just can’t find out yet (still improving/learning my coding skills…). And since you are the author of the plugin, I suppose it’s a piece of cake for you to give me this snippet or at least put me in the right direction. It would save me a lot of time and trouble, would be much appreciated!
Forum: Plugins
In reply to: [Erident Custom Login and Dashboard] css wird überschriebenHi,
I have the same issue, but using the latest version I have some custom CSS lines that are still not applied. I tested them first in the inspector screen (as I always do) and copied them exactly as I wanted the changes:
.login h1, body.login div#login h1 {
padding: 24px 24px 0 24px;
background-color: #FFFFFF !important;
border: 4px solid #ab2927 !important;
border-radius: 10px !important;
}
body.login #nav, body.login #backtoblog {
text-align:center;
background-color: #FFFFFF !important;
border: 4px solid #ab2927 !important;
border-radius: 10px !important;
}Basically I want to give the logo and both links at the bottom a background and border too, in the same style of the login form, just to make both sections stand out more against the background image.
I have tried different browsers with hard refresh, but no luck so far. Am I overlooking something?
Forum: Developing with WordPress
In reply to: Calculation in custom HTML widgetThanks for your help guys, I now know what to look for. I expected that I could use some PHP code in a HTML widget, but apparently this code is ignored.
@bcworkz: good suggestion to use it in the template. I’ve done this on the front page, the easiest place. At least this gives output, but the outcome is always zero. Maybe because it’s not an integer division? I found a hint on this page and on this page, maybe we can solve it with this?
I have also asked the plugin builder (Pronamic); hope they will come up with a solution, otherwise it’s bad luck for me and I’ll just have to update this number manually.
Forum: Developing with WordPress
In reply to: Calculation in custom HTML widget@bcworkz: thanks for your help. Still no luck.
The reason for the widget is that I want to display this ‘number of stages’ right above the donations widget, in the same style. The original widget is ‘missing’ this option, but I expect it’s much harder to add this as a new field to the donations plugin. So I’m trying to work out an easy work-around.
@jakept: I’m trying to do this in a HTML widget in a custom sidebar, using the custom sidebar plugin. Works fine on pages and I managed to add it to a section template of the front page. As I said, ‘manual’ method for this HTML widget works fine.
- This reply was modified 7 years, 1 month ago by prodefu.
Forum: Developing with WordPress
In reply to: Calculation in custom HTML widget@diondesigns: thanks for your quick reply. But no luck so far: this gives a blank/invisible output or no output at all.
The ‘manual’ method does work, at least it shows a number:
<div class="donate-section"> <span class="value"><strong>0</strong></span> <span class="label">kernwoorden gerealiseerd</span> </div>
But of course I prefer to link this to the widget, if possible.
- This reply was modified 7 years, 1 month ago by prodefu.
Currently I can only change the border color for all popups, but I want to give each popup a different border color, using CSS. Usually I can achieve this with a custom CSS class.
I’m using the Widget CSS Classes plugin, but this does not work for the popups.
I think this would be a useful feature, since it works fine for the widgets. So I’m a little surprised it’s not implemented yet. Maybey you can check the code of this widget css class plugin and quickly copy the function to the Popup Maker plugin?
Forum: Plugins
In reply to: [RVM - Responsive Vector Maps] Translate country label popupHi Enrico,
Thanks for your quick response, this helped me out for now. I even managed to display special caracters correctly, thanks to this list. Maybe a useful link to include in your tips&tricks?
When do you expect to implement translation options for this issue? I suppose there must be some way to load all the labels from the regions-data JS files and to replace them? It would improve the plugin even further. So I hope you can find a way and time to implement it.
Final question for now: won’t the modified JS file be overwritten when I update the plugin?
To add images by room, you might consider using tabs in the project content, with a tab for each room; then you can add an image slider on each tab.
Forum: Plugins
In reply to: [WP Catalogue] Display Soley Product Name / Adjust Product DetailsHey Lucas and Nel7,
I’ve had the same problem and with a little modification you can solve it. In case you didn’t find a solution yet, here’s my solution.
There are two options:
1. replacing the ‘product details’ with the product title
2. leave the ‘product details’ as it is and add the product title at the top of the single product page.First of all you have to open the ‘single-wpcproduct’ file, which is located in the folder ‘themefiles’ within the plugin folder. A very good text editor for this job is Notepad++, this editor makes reading the code a lot easier by adding colors to the divs, classes, id’s, etc.
Now the two possible solutions:
1. When you’ve opened the file, search for the line with ‘<h4>Product Details</h4>‘ on it. Now replace the text ‘Product Details’ with ‘<?php echo $pname; ?>‘. Save the file and refresh the page; you might see a ‘>>’ in front of the product title, which can be found in the code on line 19: “$pname = >> get_the_title();“2. Search for the line with ‘<div class=”entry-content”>’ in it; just below this add the following code:
<div id=”product-title” class=”grid col-940″>
<h1><?php echo $pname; ?></h1>
</div>
and after saving the file again you’re all done.After all: PHP is not so hard to understand, until five weeks ago I didn’t know anything about it either ;). Happy learning!
Greetings from The Netherlands,
Gert-JanForum: Reviews
In reply to: [WP Catalogue] Great plugin – some suggestions for improvementYou’re welcome ;).
I have a screenshot for you to illustrate the second point.
In addition to my review at this point: it would be nice if the border of the thumb image which is being shown in the large box would have the same color; this way the thumbs will behave like a small menu. Adding a link property to the thumbs might be helpfull, since you then can define the border color of ‘a:active’ in CSS, but I don’t know enough PHP yet to make this work. Untill six weeks ago I even knew nothing at all about WordPress, PHP and CSS… ;). So I’m still learning.
Good luck with the improvement of the plugin! Hope to hear from you again if you have something new.
Cheers,
Gert-JanForum: Plugins
In reply to: [WP Catalogue] Product Page Problems (Aligns to the left)Hi Maeve,
I had the same problem and this little tweak did solve it. But I wonder why you didn’t add such inner DIV to the plugin itself? The only reason I can think of is that in this way it’s more adjustable to use the plugin with different templates.
I also was quite surprized to find a fixed width for the catalogue-wrapper instead of ‘100%’. That doesn’t exactly make the catalogue responsive ;). IMHO this point could use some improvement, also in the free version. I’ll write a review with some other suggestions for improvement in it, hope they will be usefull!
Greetings from The Netherlands,
Gert-Jan